home *** CD-ROM | disk | FTP | other *** search
Unreal Engine 3 Package | 2001-03-07 | 27.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Unreal Engine 3 Package
(archive/unrealEngine3Package).
You can browse this item here: UWeb.u
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Unreal Engine 3 Package (archive/unrealEngine3Package)
| magic
| Supported |
1%
| dexvert
| Unreal Texture (image/unrealTexture)
| ext
| Unsupported |
1%
| dexvert
| KICK-Pascal Unit Interface (other/kickPascalUnitInterface)
| ext
| Unsupported |
100%
| file
| Unreal Engine package (little-endian), version 69, names: 143, imports: 35, exports: 153
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| UE3 Unreal Package (LE)
| default
| |
100%
| detectItEasy
| Format: UnrealEngine\Unreal Package(69,0)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| c1 83 2a 9e 45 00 00 00 | 05 00 00 00 8f 00 00 00 |..*.E...|........|
|00000010| 40 00 00 00 99 00 00 00 | 06 64 00 00 23 00 00 00 |@.......|.d..#...|
|00000020| d8 62 00 00 a6 17 af 8f | f2 12 d5 11 94 fa 00 50 |.b......|.......P|
|00000030| da bd 00 4c 01 00 00 00 | 99 00 00 00 8f 00 00 00 |...L....|........|
|00000040| 05 4e 6f 6e 65 00 10 04 | 07 04 09 53 65 6e 64 54 |.None...|...SendT|
|00000050| 65 78 74 00 10 00 07 04 | 08 43 6c 65 61 6e 75 70 |ext.....|.Cleanup|
|00000060| 00 10 00 07 00 05 55 57 | 65 62 00 10 00 07 00 05 |......UW|eb......|
|00000070| 43 6f 72 65 00 10 00 07 | 04 0b 48 54 54 50 48 65 |Core....|..HTTPHe|
|00000080| 61 64 65 72 00 10 00 07 | 00 07 53 79 73 74 65 6d |ader....|..System|
|00000090| 00 10 00 07 04 0a 48 54 | 54 50 45 72 72 6f 72 00 |......HT|TPError.|
|000000a0| 10 00 07 00 0d 48 54 54 | 50 52 65 73 70 6f 6e 73 |.....HTT|PRespons|
|000000b0| 65 00 10 00 07 00 14 53 | 65 6e 64 53 74 61 6e 64 |e......S|endStand|
|000000c0| 61 72 64 48 65 61 64 65 | 72 73 00 10 00 07 00 06 |ardHeade|rs......|
|000000d0| 51 75 65 72 79 00 10 00 | 07 00 15 43 72 65 61 74 |Query...|...Creat|
|000000e0| 65 52 65 73 70 6f 6e 73 | 65 4f 62 6a 65 63 74 00 |eRespons|eObject.|
|000000f0| 10 00 07 00 0f 44 65 63 | 6f 64 65 46 6f 72 6d 44 |.....Dec|odeFormD|
|00000100| 61 74 61 00 10 00 07 00 | 0e 43 68 65 63 6b 52 61 |ata.....|.CheckRa|
|00000110| 77 42 79 74 65 73 00 10 | 00 07 00 09 52 65 64 69 |wBytes..|....Redi|
|00000120| 72 65 63 74 00 10 00 07 | 00 0f 47 65 74 41 70 70 |rect....|..GetApp|
|00000130| 6c 69 63 61 74 69 6f 6e | 00 10 00 07 00 0c 47 65 |lication|......Ge|
|00000140| 74 48 65 78 44 69 67 69 | 74 00 10 00 07 00 06 43 |tHexDigi|t......C|
|00000150| 6c 6f 73 65 00 10 00 07 | 00 0b 53 65 6e 64 42 69 |lose....|..SendBi|
|00000160| 6e 61 72 79 00 10 00 07 | 04 0d 45 6e 64 4f 66 48 |nary....|..EndOfH|
|00000170| 65 61 64 65 72 73 00 10 | 00 07 00 06 49 70 44 72 |eaders..|....IpDr|
|00000180| 76 00 10 00 07 00 0b 50 | 72 6f 63 65 73 73 47 65 |v......P|rocessGe|
|00000190| 74 00 10 00 07 00 05 49 | 6e 69 74 00 10 00 07 04 |t......I|nit.....|
|000001a0| 0c 50 72 6f 63 65 73 73 | 50 6f 73 74 00 10 00 07 |.Process|Post....|
|000001b0| 00 13 46 61 69 6c 41 75 | 74 68 65 6e 74 69 63 61 |..FailAu|thentica|
|000001c0| 74 69 6f 6e 00 10 00 07 | 00 07 4c 69 73 74 65 6e |tion....|..Listen|
|000001d0| 00 10 00 07 00 07 45 6e | 67 69 6e 65 00 10 00 07 |......En|gine....|
|000001e0| 04 14 50 72 6f 63 65 73 | 73 48 65 61 64 65 72 53 |..Proces|sHeaderS|
|000001f0| 74 72 69 6e 67 00 10 00 | 07 00 0d 52 65 63 65 69 |tring...|...Recei|
|00000200| 76 65 64 4c 69 6e 65 00 | 10 00 07 00 0a 44 65 73 |vedLine.|.....Des|
|00000210| 74 72 6f 79 65 64 00 10 | 00 07 04 0a 42 65 67 69 |troyed..|....Begi|
|00000220| 6e 50 6c 61 79 00 10 00 | 07 04 06 54 69 6d 65 72 |nPlay...|...Timer|
|00000230| 00 10 00 07 04 0c 47 61 | 69 6e 65 64 43 68 69 6c |......Ga|inedChil|
|00000240| 64 00 10 00 07 04 0a 4c | 6f 73 74 43 68 69 6c 64 |d......L|ostChild|
|00000250| 00 10 00 07 04 09 48 65 | 6c 6c 6f 57 65 62 00 10 |......He|lloWeb..|
|00000260| 00 07 00 0b 4c 69 73 74 | 65 6e 50 6f 72 74 00 10 |....List|enPort..|
|00000270| 00 07 00 0f 57 65 62 41 | 70 70 6c 69 63 61 74 69 |....WebA|pplicati|
|00000280| 6f 6e 00 10 00 07 00 0c | 49 6d 61 67 65 53 65 72 |on......|ImageSer|
|00000290| 76 65 72 00 10 00 07 00 | 12 49 6e 63 6c 75 64 65 |ver.....|.Include|
|000002a0| 42 69 6e 61 72 79 46 69 | 6c 65 00 10 00 07 00 0c |BinaryFi|le......|
|000002b0| 49 6e 63 6c 75 64 65 55 | 48 54 4d 00 10 00 07 00 |IncludeU|HTM.....|
|000002c0| 0b 43 6c 65 61 72 53 75 | 62 73 74 00 10 00 07 00 |.ClearSu|bst.....|
|000002d0| 06 53 75 62 73 74 00 10 | 00 07 00 09 41 63 63 65 |.Subst..|....Acce|
|000002e0| 70 74 65 64 00 10 00 07 | 00 07 43 6c 6f 73 65 64 |pted....|..Closed|
|000002f0| 00 10 00 07 00 0c 41 63 | 63 65 70 74 43 6c 61 73 |......Ac|ceptClas|
|00000300| 73 00 10 00 07 00 12 47 | 65 74 56 61 72 69 61 62 |s......G|etVariab|
|00000310| 6c 65 4e 75 6d 62 65 72 | 00 10 00 07 00 11 47 65 |leNumber|......Ge|
|00000320| 74 56 61 72 69 61 62 6c | 65 43 6f 75 6e 74 00 10 |tVariabl|eCount..|
|00000330| 00 07 00 0c 47 65 74 56 | 61 72 69 61 62 6c 65 00 |....GetV|ariable.|
|00000340| 10 00 07 00 0c 41 64 64 | 56 61 72 69 61 62 6c 65 |.....Add|Variable|
|00000350| 00 10 00 07 00 0d 52 65 | 71 75 65 73 74 5f 50 4f |......Re|quest_PO|
|00000360| 53 54 00 10 00 07 00 0d | 44 65 63 6f 64 65 42 61 |ST......|DecodeBa|
|00000370| 73 65 36 34 00 10 00 07 | 00 0d 52 65 63 65 69 76 |se64....|..Receiv|
|00000380| 65 64 54 65 78 74 00 10 | 00 07 00 0c 49 6e 63 6c |edText..|....Incl|
|00000390| 75 64 65 50 61 74 68 00 | 10 00 07 00 0e 57 65 62 |udePath.|.....Web|
|000003a0| 43 6f 6e 6e 65 63 74 69 | 6f 6e 00 10 00 07 00 09 |Connecti|on......|
|000003b0| 42 69 6e 64 50 6f 72 74 | 00 10 00 07 00 0c 57 65 |BindPort|......We|
|000003c0| 62 52 65 73 70 6f 6e 73 | 65 00 10 00 07 00 0f 4d |bRespons|e......M|
|000003d0| 61 78 43 6f 6e 6e 65 63 | 74 69 6f 6e 73 00 10 00 |axConnec|tions...|
|000003e0| 07 00 0f 49 70 41 64 64 | 72 54 6f 53 74 72 69 6e |...IpAdd|rToStrin|
|000003f0| 67 00 10 00 07 00 0b 47 | 65 74 4c 6f 63 61 6c 49 |g......G|etLocalI|
|00000400| 50 00 10 00 07 00 0c 52 | 65 71 75 65 73 74 5f 47 |P......R|equest_G|
|00000410| 45 54 00 10 00 07 00 13 | 44 65 66 61 75 6c 74 41 |ET......|DefaultA|
|00000420| 70 70 6c 69 63 61 74 69 | 6f 6e 00 10 00 07 00 0b |pplicati|on......|
|00000430| 57 65 62 52 65 71 75 65 | 73 74 00 10 00 07 00 0a |WebReque|st......|
|00000440| 57 65 62 53 65 72 76 65 | 72 00 10 00 07 00 0e 45 |WebServe|r......E|
|00000450| 6e 67 69 6e 65 56 65 72 | 73 69 6f 6e 00 10 00 07 |ngineVer|sion....|
|00000460| 00 07 49 70 41 64 64 72 | 00 10 00 07 00 08 54 63 |..IpAddr|......Tc|
|00000470| 70 4c 69 6e 6b 00 10 00 | 07 00 0d 49 6e 74 65 72 |pLink...|...Inter|
|00000480| 6e 65 74 4c 69 6e 6b 00 | 10 00 07 00 03 43 68 00 |netLink.|.....Ch.|
|00000490| 10 00 07 00 06 41 63 74 | 6f 72 00 10 00 07 00 0b |.....Act|or......|
|000004a0| 53 63 72 69 70 74 54 65 | 78 74 00 10 00 07 00 02 |ScriptTe|xt......|
|000004b0| 42 00 10 00 07 00 0a 4c | 65 76 65 6c 49 6e 66 6f |B......L|evelInfo|
|000004c0| 00 10 00 07 00 05 54 65 | 78 74 00 10 00 07 00 06 |......Te|xt......|
|000004d0| 4f 77 6e 65 72 00 10 00 | 07 00 0a 4c 69 6e 6b 53 |Owner...|...LinkS|
|000004e0| 74 61 74 65 00 10 00 07 | 00 02 43 00 10 00 07 00 |tate....|..C.....|
|000004f0| 0d 52 65 63 65 69 76 65 | 64 44 61 74 61 00 10 00 |.Receive|dData...|
|00000500| 07 00 08 52 65 71 75 65 | 73 74 00 10 00 07 00 09 |...Reque|st......|
|00000510| 52 65 73 70 6f 6e 73 65 | 00 10 00 07 00 09 62 45 |Response|......bE|
|00000520| 6e 61 62 6c 65 64 00 10 | 00 07 00 0b 53 65 72 76 |nabled..|....Serv|
|00000530| 65 72 4e 61 6d 65 00 10 | 00 07 00 06 43 6f 75 6e |erName..|....Coun|
|00000540| 74 00 10 00 07 00 06 56 | 61 6c 75 65 00 10 00 07 |t......V|alue....|
|00000550| 00 02 4c 00 10 00 07 00 | 04 55 52 4c 00 10 00 07 |..L.....|.URL....|
|00000560| 00 06 4c 65 76 65 6c 00 | 10 00 07 00 09 50 61 73 |..Level.|.....Pas|
|00000570| 73 77 6f 72 64 00 10 00 | 07 00 0d 41 70 70 6c 69 |sword...|...Appli|
|00000580| 63 61 74 69 6f 6e 73 00 | 10 00 07 00 11 41 70 70 |cations.|.....App|
|00000590| 6c 69 63 61 74 69 6f 6e | 50 61 74 68 73 00 10 00 |lication|Paths...|
|000005a0| 07 00 0c 52 65 74 75 72 | 6e 56 61 6c 75 65 00 10 |...Retur|nValue..|
|000005b0| 00 07 00 09 46 69 6c 65 | 6e 61 6d 65 00 10 00 07 |....File|name....|
|000005c0| 00 05 50 61 74 68 00 10 | 00 07 00 0a 53 65 72 76 |..Path..|....Serv|
|000005d0| 65 72 55 52 4c 00 10 00 | 07 00 13 41 70 70 6c 69 |erURL...|...Appli|
|000005e0| 63 61 74 69 6f 6e 4f 62 | 6a 65 63 74 73 00 10 00 |cationOb|jects...|
|000005f0| 07 00 10 43 6f 6e 6e 65 | 63 74 69 6f 6e 43 6f 75 |...Conne|ctionCou|
|00000600| 6e 74 00 10 00 07 00 11 | 41 70 70 6c 69 63 61 74 |nt......|Applicat|
|00000610| 69 6f 6e 43 6c 61 73 73 | 00 10 00 07 00 05 45 6e |ionClass|......En|
|00000620| 75 6d 00 10 04 07 04 04 | 55 52 49 00 10 00 07 00 |um......|URI.....|
|00000630| 07 53 75 62 55 52 49 00 | 10 00 07 00 0f 52 65 70 |.SubURI.|.....Rep|
|00000640| 6c 61 63 65 6d 65 6e 74 | 4d 61 70 00 10 00 07 00 |lacement|Map.....|
|00000650| 12 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |.Dynamic|LoadObje|
|00000660| 63 74 00 10 00 07 00 0b | 43 6f 6e 6e 65 63 74 69 |ct......|Connecti|
|00000670| 6f 6e 00 10 00 07 00 0a | 62 53 65 6e 74 54 65 78 |on......|bSentTex|
|00000680| 74 00 10 00 07 00 0e 62 | 53 65 6e 74 52 65 73 70 |t......b|SentResp|
|00000690| 6f 6e 73 65 00 10 00 07 | 00 02 69 00 10 00 07 00 |onse....|..i.....|
|000006a0| 09 56 61 72 69 61 62 6c | 65 00 10 00 07 00 07 62 |.Variabl|e......b|
|000006b0| 43 6c 65 61 72 00 10 00 | 07 00 02 74 00 10 00 07 |Clear...|...t....|
|000006c0| 00 02 53 00 10 00 07 00 | 0c 41 70 70 6c 69 63 61 |..S.....|.Applica|
|000006d0| 74 69 6f 6e 00 10 00 07 | 00 08 62 4e 6f 43 52 4c |tion....|..bNoCRL|
|000006e0| 46 00 10 00 07 00 09 46 | 75 6e 63 74 69 6f 6e 00 |F......F|unction.|
|000006f0| 10 04 07 04 06 52 65 61 | 6c 6d 00 10 00 07 00 07 |.....Rea|lm......|
|00000700| 53 74 72 75 63 74 00 10 | 04 07 04 07 48 65 61 64 |Struct..|....Head|
|00000710| 65 72 00 10 00 07 00 0c | 53 74 72 50 72 6f 70 65 |er......|StrPrope|
|00000720| 72 74 79 00 10 00 07 04 | 0f 53 74 72 75 63 74 50 |rty.....|.StructP|
|00000730| 72 6f 70 65 72 74 79 00 | 10 00 07 04 09 45 72 72 |roperty.|.....Err|
|00000740| 6f 72 4e 75 6d 00 10 00 | 07 00 05 44 61 74 61 00 |orNum...|...Data.|
|00000750| 10 00 07 00 0e 43 6c 61 | 73 73 50 72 6f 70 65 72 |.....Cla|ssProper|
|00000760| 74 79 00 10 00 07 04 0c | 43 6f 6e 74 65 6e 74 54 |ty......|ContentT|
|00000770| 79 70 65 00 10 00 07 00 | 0f 4f 62 6a 65 63 74 50 |ype.....|.ObjectP|
|00000780| 72 6f 70 65 72 74 79 00 | 10 00 07 04 0d 45 52 65 |roperty.|.....ERe|
|00000790| 71 75 65 73 74 54 79 70 | 65 00 10 00 07 00 12 52 |questTyp|e......R|
|000007a0| 61 77 42 79 74 65 73 45 | 78 70 65 63 74 69 6e 67 |awBytesE|xpecting|
|000007b0| 00 10 00 07 00 06 54 69 | 74 6c 65 00 10 00 07 04 |......Ti|tle.....|
|000007c0| 09 55 73 65 72 6e 61 6d | 65 00 10 00 07 00 0e 43 |.Usernam|e......C|
|000007d0| 6f 6e 74 65 6e 74 4c 65 | 6e 67 74 68 00 10 00 07 |ontentLe|ngth....|
|000007e0| 00 0c 52 65 71 75 65 73 | 74 54 79 70 65 00 10 00 |..Reques|tType...|
|000007f0| 07 00 0c 56 61 72 69 61 | 62 6c 65 4d 61 70 00 10 |...Varia|bleMap..|
|00000800| 00 07 00 06 43 6c 61 73 | 73 00 10 04 07 04 08 45 |....Clas|s......E|
|00000810| 6e 63 6f 64 65 64 00 10 | 00 07 00 08 50 61 63 6b |ncoded..|....Pack|
|00000820| 61 67 65 00 10 04 07 04 | 0d 56 61 72 69 61 62 6c |age.....|.Variabl|
|00000830| 65 4e 61 6d 65 00 10 00 | 07 00 0b 54 65 78 74 42 |eName...|...TextB|
|00000840| 75 66 66 65 72 00 10 00 | 07 04 0d 44 65 66 61 75 |uffer...|...Defau|
|00000850| 6c 74 56 61 6c 75 65 00 | 10 00 07 00 07 4f 62 6a |ltValue.|.....Obj|
|00000860| 65 63 74 00 10 00 07 04 | 02 44 00 10 00 07 00 07 |ect.....|.D......|
|00000870| 4e 75 6d 62 65 72 00 10 | 00 07 00 0d 42 6f 6f 6c |Number..|....Bool|
|00000880| 50 72 6f 70 65 72 74 79 | 00 10 00 07 04 0c 49 6e |Property|......In|
|00000890| 74 50 72 6f 70 65 72 74 | 79 00 10 00 07 04 06 54 |tPropert|y......T|
|000008a0| 6f 6b 65 6e 00 10 00 07 | 00 0d 42 79 74 65 50 72 |oken....|..BytePr|
|000008b0| 6f 70 65 72 74 79 00 10 | 00 07 04 06 49 6d 61 67 |operty..|....Imag|
|000008c0| 65 00 10 00 07 00 88 00 | 4a 02 69 01 37 ff ff ff |e.......|J.i.7...|
|000008d0| ff ff ff ff ff 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 ff ff ff ff ff ff ff | ff ff ff 00 00 00 00 16 |........|........|
|000008f0| 01 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000900| 00 00 00 08 01 01 00 00 | 00 20 ab 24 7e 88 01 00 |........|. .$~...|
|00000910| 00 00 b5 cf 78 57 14 00 | 00 00 00 c1 a6 58 3b 8e |....xW..|.....X;.|
|00000920| 00 00 00 00 86 c7 d0 2f | 14 00 00 00 00 c1 a6 58 |......./|.......X|
|00000930| 3b 14 00 00 00 00 c1 a6 | 58 3b 14 00 00 00 00 c1 |;.......|X;......|
|00000940| a6 58 3b 14 00 00 00 00 | c1 a6 58 3b 02 03 04 88 |.X;.....|..X;....|
|00000950| 06 34 5d 08 07 2e 2e 2f | 57 65 62 00 00 88 00 4b |.4]..../|Web....K|
|00000960| 02 47 02 3d ff ff ff ff | ff ff ff ff 00 00 00 00 |.G.=....|........|
|00000970| 00 00 00 00 00 00 00 00 | ff ff ff ff ff ff ff ff |........|........|
|00000980| ff ff 00 00 00 00 12 01 | 00 00 00 00 00 00 00 00 |........|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 02 02 01 00 00 00 |........|........|
|000009a0| 44 88 ff b9 88 01 00 00 | 00 b5 cf 78 57 02 03 04 |D.......|...xW...|
|000009b0| 88 06 00 00 00 0b 01 00 | 00 00 00 00 00 00 00 02 |........|........|
|000009c0| 00 00 24 01 00 00 00 80 | 00 00 00 00 01 88 00 53 |..$.....|.......S|
|000009d0| 02 37 24 ff ff ff ff ff | ff ff ff 00 00 00 00 00 |.7$.....|........|
|000009e0| 00 00 00 00 00 00 00 ff | ff ff ff ff ff ff ff ff |........|........|
|000009f0| ff 00 00 00 00 12 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 00 00 00 00 00 00 00 00 | 00 02 05 01 00 00 00 20 |........|....... |
|00000a10| 19 bc 78 88 01 00 00 00 | b5 cf 78 57 02 03 04 88 |..x.....|..xW....|
|00000a20| 06 00 00 00 2e 02 00 00 | 00 00 00 40 00 00 00 00 |........|...@....|
|00000a30| 32 01 00 00 00 00 00 00 | 00 00 00 00 19 01 00 00 |2.......|........|
|00000a40| 00 80 00 40 00 00 00 00 | 15 01 00 00 00 80 00 40 |...@....|.......@|
|00000a50| 00 00 00 00 03 01 00 00 | 00 00 00 40 00 00 00 00 |........|...@....|
|00000a60| 0f 01 00 00 00 00 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 8a | 00 46 02 74 01 3e ff ff |........|.F.t.>..|
|00000a80| ff ff ff ff ff ff 00 00 | 00 00 0e 00 00 00 00 00 |........|........|
|00000a90| 00 00 ff ff ff ff ff ff | ff ff ff ff 00 00 00 00 |........|........|
|00000aa0| 1e 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 09 0d 01 00 | 00 00 b8 e8 38 fb 8a 01 |........|....8...|
|00000ac0| 00 00 00 32 e7 1e 21 05 | 00 00 00 00 20 19 bc 78 |...2..!.|.... ..x|
|00000ad0| 05 00 00 00 00 20 19 bc | 78 05 00 00 00 00 20 19 |..... ..|x..... .|
|00000ae0| bc 78 05 00 00 00 00 20 | 19 bc 78 05 00 00 00 00 |.x..... |..x.....|
|00000af0| 20 19 bc 78 05 00 00 00 | 00 20 19 bc 78 05 00 00 | ..x....|. ..x...|
|00000b00| 00 00 20 19 bc 78 04 03 | 14 1a 04 88 06 23 22 50 |.. ..x..|.....#"P|
|00000b10| 00 00 00 38 22 1e 00 00 | 00 3c 22 ff ff ff ff 2c |...8"...|.<"....,|
|00000b20| 05 14 00 00 00 25 0a 00 | 00 00 00 00 00 00 00 05 |.....%..|........|
|00000b30| 00 00 1a 01 00 00 00 00 | 00 00 00 00 05 00 00 27 |........|.......'|
|00000b40| 01 00 00 00 80 00 40 00 | 00 00 00 0a 01 00 00 00 |......@.|........|
|00000b50| 00 00 00 00 00 0d 00 00 | 3e 01 00 00 00 00 00 00 |........|>.......|
|00000b60| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 8a 00 |........|........|
|00000b70| 4f 02 7a 01 35 ff ff ff | ff ff ff ff ff 00 00 00 |O.z.5...|........|
|00000b80| 00 00 01 00 00 00 00 00 | 00 ff ff ff ff ff ff ff |........|........|
|00000b90| ff ff ff 00 00 00 00 1a | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 23 14 01 00 00 |........|...#....|
|00000bb0| 00 c1 a6 58 3b 8a 01 00 | 00 00 32 e7 1e 21 01 00 |...X;...|..2..!..|
|00000bc0| 00 00 00 20 ab 24 7e 02 | 00 00 00 00 44 88 ff b9 |... .$~.|....D...|
|00000bd0| 02 00 00 00 00 44 88 ff | b9 01 00 00 00 00 20 ab |.....D..|...... .|
|00000be0| 24 7e 02 00 00 00 00 44 | 88 ff b9 05 00 00 00 00 |$~.....D|........|
|00000bf0| 20 19 bc 78 01 00 00 00 | 00 20 ab 24 7e 01 00 00 | ..x....|. .$~...|
|00000c00| 00 00 20 ab 24 7e 02 00 | 00 00 00 44 88 ff b9 02 |.. .$~..|...D....|
|00000c10| 00 00 00 00 44 88 ff b9 | 02 00 00 00 00 44 88 ff |....D...|.....D..|
|00000c20| b9 05 00 00 00 00 20 19 | bc 78 01 00 00 00 00 20 |...... .|.x..... |
|00000c30| ab 24 7e 02 00 00 00 00 | 44 88 ff b9 02 00 00 00 |.$~.....|D.......|
|00000c40| 00 44 88 ff b9 0d 00 00 | 00 00 b8 e8 38 fb 02 00 |.D......|....8...|
|00000c50| 00 00 00 44 88 ff b9 02 | 00 00 00 00 44 88 ff b9 |...D....|....D...|
|00000c60| 01 00 00 00 00 20 ab 24 | 7e 0d 00 00 00 00 b8 e8 |..... .$|~.......|
|00000c70| 38 fb 02 00 00 00 00 44 | 88 ff b9 02 00 00 00 00 |8......D|........|
|00000c80| 44 88 ff b9 0d 00 00 00 | 00 b8 e8 38 fb 02 00 00 |D.......|...8....|
|00000c90| 00 00 44 88 ff b9 02 00 | 00 00 00 44 88 ff b9 01 |..D.....|...D....|
|00000ca0| 00 00 00 00 20 ab 24 7e | 0d 00 00 00 00 b8 e8 38 |.... .$~|.......8|
|00000cb0| fb 0d 00 00 00 00 b8 e8 | 38 fb 01 00 00 00 00 20 |........|8...... |
|00000cc0| ab 24 7e 0d 00 00 00 00 | b8 e8 38 fb 0d 00 00 00 |.$~.....|..8.....|
|00000cd0| 00 b8 e8 38 fb 0d 00 00 | 00 00 b8 e8 38 fb 02 00 |...8....|....8...|
|00000ce0| 00 00 00 44 88 ff b9 04 | 03 14 1a 04 88 06 00 00 |...D....|........|
|00000cf0| 00 00 01 00 00 00 00 00 | 00 00 00 00 00 0e 01 00 |........|........|
|00000d00| 00 00 00 00 40 00 00 00 | 00 2f 01 00 00 00 00 00 |....@...|./......|
|00000d10| 00 00 00 14 00 00 23 01 | 00 00 00 00 00 00 00 00 |......#.|........|
|00000d20| 00 00 00 01 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 01 00 00 00 00 |........|........|
|00000d40| 00 40 00 00 00 00 00 01 | 00 00 00 80 00 40 00 00 |.@......|.....@..|
|00000d50| 00 00 0c 01 00 00 00 00 | 00 00 00 00 00 00 35 01 |........|......5.|
|00000d60| 00 00 00 00 00 40 00 00 | 00 00 04 01 00 00 00 80 |.....@..|........|
|00000d70| 00 00 00 00 02 00 00 00 | 01 00 00 00 00 00 40 00 |........|......@.|
|00000d80| 00 00 00 1b 01 00 00 00 | 80 00 00 00 00 01 00 00 |........|........|
|00000d90| 2d 0a 00 00 00 00 40 40 | 00 00 00 00 00 01 00 00 |-.....@@|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 3f 01 00 00 00 80 00 40 | 00 00 00 00 00 01 00 00 |?......@|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 06 01 00 00 00 80 00 40 |........|.......@|
|00000de0| 00 00 00 00 2b 01 00 00 | 00 00 00 40 00 00 00 00 |....+...|...@....|
|00000df0| 3c 01 00 00 00 00 00 00 | 00 00 8e 00 00 72 01 01 |<.......|.....r..|
|00000e00| 00 00 00 00 00 00 00 00 | 63 01 00 00 29 01 00 00 |........|c...)...|
|00000e10| 00 00 00 00 00 00 00 00 | 30 01 00 00 00 00 40 00 |........|0.....@.|
|00000e20| 00 00 00 00 1d 01 00 00 | 00 00 00 40 00 00 00 00 |........|...@....|
|00000e30| 42 01 01 00 00 00 00 00 | 00 00 00 00 00 39 01 00 |B.......|.....9..|
|00000e40| 00 00 00 40 00 00 00 00 | 00 71 01 00 49 01 29 0c |...@....|.q..I.).|
|00000e50| 00 00 00 82 01 00 00 0f | 00 00 00 29 49 01 29 4a |........|...)I.)J|
|00000e60| 01 29 4b 01 00 00 00 01 | 04 00 00 00 00 36 01 00 |.)K.....|.....6..|
|00000e70| 00 00 00 00 00 00 00 8b | 05 00 00 00 01 00 00 00 |........|........|
|00000e80| 90 00 40 00 00 00 00 22 | 0a 00 00 00 00 40 40 00 |..@...."|.....@@.|
|00000e90| 00 00 00 3a 01 00 00 00 | 00 00 40 00 00 00 00 20 |...:....|..@.... |
|00000ea0| 01 00 00 00 00 00 00 00 | 00 9e 00 00 4e 02 00 50 |........|....N..P|
|00000eb0| 02 0a 0a 00 00 00 e5 00 | 00 00 02 00 00 00 04 0b |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 64 01 00 47 01 30 14 |........|.d..G.0.|
|00000ed0| 00 00 00 cf 01 00 00 0a | 00 00 00 29 47 01 29 48 |........|...)G.)H|
|00000ee0| 01 00 00 00 01 04 00 00 | 00 00 44 01 01 00 00 00 |........|..D.....|
|00000ef0| 00 40 40 00 00 00 00 2c | 01 00 00 00 00 00 40 00 |.@@....,|......@.|
|00000f00| 00 00 00 00 01 00 00 00 | 80 00 40 00 00 00 00 61 |........|..@....a|
|00000f10| 01 01 00 00 00 00 00 00 | 00 00 0d 00 00 53 01 01 |........|.....S..|
|00000f20| 00 00 00 80 00 40 00 00 | 00 00 00 01 00 00 00 00 |.....@..|........|
|00000f30| 00 40 00 00 00 00 73 01 | 01 00 00 00 80 01 40 00 |.@....s.|......@.|
|00000f40| 00 00 00 12 01 00 00 00 | 80 00 40 00 00 00 00 16 |........|..@.....|
|00000f50| 01 00 00 00 00 40 00 00 | 00 00 00 00 01 00 00 00 |.....@..|........|
|00000f60| 00 00 00 00 00 00 00 00 | 01 00 00 00 80 00 00 00 |........|........|
|00000f70| 00 87 00 00 41 01 01 00 | 00 00 00 40 00 00 00 00 |....A...|...@....|
|00000f80| 00 00 01 00 00 00 80 00 | 00 00 00 87 00 00 57 02 |........|......W.|
|00000f90| 00 4e 01 27 0e 00 00 00 | dc 01 00 00 05 00 00 00 |.N.'....|........|
|00000fa0| 29 4e 01 00 00 00 01 04 | 00 00 00 00 48 01 01 00 |)N......|....H...|
|00000fb0| 00 00 80 00 40 00 00 00 | 00 00 01 00 00 00 80 00 |....@...|........|
|00000fc0| 40 00 00 00 00 4a 01 01 | 00 00 00 80 00 40 00 00 |@....J..|.....@..|
|00000fd0| 00 00 4b 01 01 00 00 00 | 80 00 40 00 00 00 00 00 |..K.....|..@.....|
|00000fe0| 01 00 00 00 90 00 00 00 | 00 00 00 51 01 01 00 00 |........|...Q....|
|00000ff0| 00 80 00 40 00 00 00 00 | 38 00 4c 01 2f 15 00 00 |...@....|8.L./...|
|00001000| 00 2d 02 00 00 0a 00 00 | 00 29 4c 01 29 51 01 00 |.-......|.)L.)Q..|
|00001010| 00 00 01 04 00 00 00 00 | 00 01 00 00 00 80 00 40 |........|.......@|
|00001020| 00 00 00 00 46 01 00 50 | 01 26 0f 00 00 00 17 02 |....F..P|.&......|
|00001030| 00 00 05 00 00 00 29 50 | 01 00 00 00 01 04 00 00 |......)P|........|
|00001040| 00 00 00 01 00 00 00 80 | 00 40 00 00 00 00 75 01 |........|.@....u.|
|00001050| 01 00 00 00 90 00 40 00 | 00 00 00 7c 01 01 00 00 |......@.|...|....|
|00001060| 00 80 00 40 00 00 00 00 | 00 01 00 00 00 90 00 00 |...@....|........|
|00001070| 00 00 00 00 57 01 01 00 | 00 00 80 00 00 00 00 00 |....W...|........|
|00001080| 00 56 01 01 00 00 00 80 | 00 00 00 00 00 00 00 ff |.V......|........|
|00001090| 00 00 00 80 00 00 00 00 | 00 00 00 7d 01 01 00 00 |........|...}....|
|000010a0| 00 90 00 40 00 00 00 00 | 00 01 00 00 00 80 00 40 |...@....|.......@|
|000010b0| 00 00 00 00 54 01 01 00 | 00 00 80 00 40 00 00 00 |....T...|....@...|
|000010c0| 00 00 01 00 00 00 80 00 | 40 00 00 00 00 78 01 01 |........|@....x..|
|000010d0| 00 00 00 80 00 40 00 00 | 00 00 00 01 00 00 00 80 |.....@..|........|
|000010e0| 00 40 00 00 00 00 60 01 | 00 59 01 2d 17 00 00 00 |.@....`.|.Y.-....|
|000010f0| df 02 00 00 0f 00 00 00 | 29 59 01 29 54 01 29 57 |........|)Y.)T.)W|
|00001100| 01 00 00 00 01 04 00 00 | 00 00 5f 01 01 00 00 00 |........|.._.....|
|00001110| 80 00 00 00 00 00 00 00 | 01 00 00 00 90 00 40 00 |........|......@.|
|00001120| 00 00 00 4d 01 00 5b 01 | 2e 16 00 00 00 6f 02 00 |...M..[.|.....o..|
|00001130| 00 05 00 00 00 29 5b 01 | 00 00 00 01 04 00 00 00 |.....)[.|........|
|00001140| 00 00 01 00 00 00 00 00 | 40 00 00 00 00 49 02 01 |........|@....I..|
|00001150| 00 00 00 80 00 40 00 00 | 00 00 00 02 3b 31 00 00 |.....@..|....;1..|
|00001160| 1e 00 52 01 32 13 00 00 | 00 88 01 00 00 05 00 00 |..R.2...|........|
|00001170| 00 29 52 01 00 00 00 01 | 04 00 00 00 00 21 01 00 |.)R.....|.....!..|
|00001180| 00 00 80 00 00 00 00 02 | 00 92 34 00 07 1e 17 00 |........|..4.....|
|00001190| 00 00 ee 01 00 00 f5 01 | 00 00 07 58 00 81 2d 01 |........|...X..-.|
|000011a0| 44 01 16 e7 1f 57 65 62 | 73 65 72 76 65 72 20 69 |D....Web|server i|
|000011b0| 73 20 6e 6f 74 20 65 6e | 61 62 6c 65 64 2e 20 20 |s not en|abled. |
|000011c0| 53 65 74 20 62 45 6e 61 | 62 6c 65 64 20 74 6f 20 |Set bEna|bled to |
|000011d0| 54 72 75 65 20 69 6e 20 | 41 64 76 61 6e 63 65 64 |True in |Advanced|
|000011e0| 20 4f 70 74 69 6f 6e 73 | 2e 00 16 61 17 16 04 0b | Options|...a....|
|000011f0| 1c 92 16 0f 00 07 25 07 | 36 01 96 00 07 2c 0a 16 |......%.|6....,..|
|00001200| 07 86 00 7a 1a 00 07 01 | 34 1f 00 16 06 36 01 0f |...z....|4....6..|
|00001210| 00 32 13 05 1c 97 1a 00 | 07 01 34 20 8b 16 07 2c |.2......|..4 ...,|
|00001220| 01 77 00 32 2a 16 0f 1a | 00 07 01 0e 11 2a 0b 0b |.w.2*...|.....*..|
|00001230| 00 32 0f 19 1a 00 07 01 | 0e 05 00 04 01 2a 01 90 |.2......|.....*..|
|00001240| 0f 19 1a 00 07 01 0e 05 | 00 04 01 3c 17 0f 19 1a |........|...<....|
|00001250| 00 07 01 0e 05 00 00 01 | 61 01 1a 00 07 01 22 19 |........|a.....".|
|00001260| 1a 00 07 01 0e 06 00 00 | 1b 16 16 a5 00 07 16 06 |........|........|
|00001270| 65 00 07 a8 01 7a 01 39 | 1f 00 16 1b 3a 00 36 16 |e....z.9|....:.6.|
|00001280| 0f 00 20 1b 39 00 36 16 | 0f 00 07 7e 00 20 1f 3a |.. .9.6.|...~. .:|
|00001290| 00 16 07 8f 01 9b 00 07 | 1d ff ff ff ff 16 0f 00 |........|........|
|000012a0| 20 80 00 20 00 07 16 0f | 01 16 70 1f 68 74 74 70 | .. ....|..p.http|
|000012b0| 3a 2f 2f 00 00 20 16 06 | be 01 0f 01 16 70 1f 68 |://.. ..|.....p.h|
|000012c0| 74 74 70 3a 2f 2f 00 01 | 39 16 07 e2 01 9b 01 2d |ttp://..|9......-|
|000012d0| 2c 50 16 0f 01 16 70 70 | 01 16 1f 3a 00 16 53 01 |,P....pp|...:..S.|
|000012e0| 2d 16 1b 36 01 2d 16 1b | 19 16 04 0b 00 00 00 02 |-..6.-..|........|
|000012f0| 00 00 00 00 94 68 01 00 | 43 01 20 55 00 00 00 c6 |.....h..|C. U....|
|00001300| 06 00 00 80 00 00 00 1c | 94 00 43 01 16 a5 01 25 |........|..C....%|
|00001310| 16 07 7e 00 82 82 97 01 | 30 25 16 18 0d 00 97 01 |..~.....|0%......|
|00001320| 25 01 30 16 16 18 0c 00 | 9a 3a 01 8f 3a 24 02 16 |%.0.....|.:..:$..|
|00001330| 16 e7 1f 57 65 62 53 65 | 72 76 65 72 3a 20 54 6f |...WebSe|rver: To|
|00001340| 6f 20 6d 61 6e 79 20 63 | 6f 6e 6e 65 63 74 69 6f |o many c|onnectio|
|00001350| 6e 73 20 2d 20 63 6c 6f | 73 69 6e 67 20 64 6f 77 |ns - clo|sing dow|
|00001360| 6e 20 4c 69 73 74 65 6e | 2e 00 16 1b 11 16 04 0b |n Listen|........|
|00001370| 00 00 00 02 08 00 00 00 | 93 66 01 00 13 1d 47 00 |........|.f....G.|
|00001380| 00 00 ab 05 00 00 84 00 | 00 00 0f 00 13 25 07 7c |........|.....%.||
|00001390| 00 96 00 13 2c 0a 16 07 | 72 00 77 1a 00 13 01 0e |....,...|r.w.....|
|000013a0| 2a 16 19 1a 00 13 01 0e | 06 00 00 1b 02 16 0f 19 |*.......|........|
|000013b0| 1a 00 13 01 0e 05 00 04 | 01 2a 2a 0f 19 1a 00 13 |........|.**.....|
|000013c0| 01 0e 05 00 04 01 3c 2a | 0f 1a 00 13 01 0e 2a a5 |......<*|......*.|
|000013d0| 00 13 16 06 07 00 1c 93 | 16 04 0b 00 00 00 02 08 |........|........|
|000013e0| 00 00 00 00 6b 01 00 3b | 0e 5a 00 00 00 00 09 00 |....k..;|.Z......|
|000013f0| 00 cd 00 00 00 1b 08 1f | 48 54 54 50 2f 31 2e 31 |........|HTTP/1.1|
|00001400| 20 33 30 32 20 44 6f 63 | 75 6d 65 6e 74 20 4d 6f | 302 Doc|ument Mo|
|00001410| 76 65 64 00 16 1b 05 70 | 1f 4c 6f 63 61 74 69 6f |ved....p|.Locatio|
|00001420| 6e 3a 20 00 00 3b 16 16 | 1b 01 1f 3c 68 65 61 64 |n: ..;..|...<head|
|00001430| 3e 3c 74 69 74 6c 65 3e | 44 6f 63 75 6d 65 6e 74 |><title>|Document|
|00001440| 20 4d 6f 76 65 64 3c 2f | 74 69 74 6c 65 3e 3c 2f | Moved</|title></|
|00001450| 68 65 61 64 3e 00 16 1b | 01 70 70 1f 3c 62 6f 64 |head>...|.pp.<bod|
|00001460| 79 3e 3c 68 31 3e 4f 62 | 6a 65 63 74 20 4d 6f 76 |y><h1>Ob|ject Mov|
|00001470| 65 64 3c 2f 68 31 3e 54 | 68 69 73 20 64 6f 63 75 |ed</h1>T|his docu|
|00001480| 6d 65 6e 74 20 6d 61 79 | 20 62 65 20 66 6f 75 6e |ment may| be foun|
|00001490| 64 20 3c 61 20 48 52 45 | 46 3d 22 00 00 3b 16 1f |d <a HRE|F="..;..|
|000014a0| 22 3e 68 65 72 65 3c 2f | 61 3e 2e 00 16 16 04 0b |">here</|a>......|
|000014b0| 00 00 00 02 00 00 00 00 | 00 48 02 00 00 0b a0 00 |........|.H......|
|000014c0| 00 00 cd 0a 00 00 30 00 | 00 00 0f 01 03 11 2a 0b |......0.|......*.|
|000014d0| 0b 20 02 0f 01 0b 11 2a | 0b 0b 20 01 0f 19 01 0b |. .....*|.. .....|
|000014e0| 05 00 04 01 17 17 04 0b | 00 00 00 02 00 00 00 00 |........|........|
|000014f0| 00 6f 01 00 33 09 4f 00 | 00 00 d0 07 00 00 b2 00 |.o..3.O.|........|
|00001500| 00 00 07 1d 00 7a 00 33 | 1f 00 16 0f 00 33 1f 74 |.....z.3|.....3.t|
|00001510| 65 78 74 2f 68 74 6d 6c | 00 07 3f 00 81 2d 01 42 |ext/html|..?..-.B|
|00001520| 01 16 1b 08 1f 48 54 54 | 50 2f 31 2e 31 20 32 30 |.....HTT|P/1.1 20|
|00001530| 30 20 4f 4b 00 16 1b 05 | 70 1f 53 65 72 76 65 72 |0 OK....|p.Server|
|00001540| 3a 20 55 6e 72 65 61 6c | 45 6e 67 69 6e 65 20 55 |: Unreal|Engine U|
|00001550| 57 65 62 20 57 65 62 20 | 53 65 72 76 65 72 20 42 |Web Web |Server B|
|00001560| 75 69 6c 64 20 00 19 19 | 01 17 05 00 04 01 90 05 |uild ...|........|
|00001570| 00 00 01 9a 16 16 1b 05 | 70 1f 43 6f 6e 74 65 6e |........|p.Conten|
|00001580| 74 2d 54 79 70 65 3a 20 | 00 00 33 16 16 1b 05 1f |t-Type: |..3.....|
|00001590| 00 16 04 0b 00 00 00 02 | 00 00 00 00 95 67 01 00 |........|.....g..|
|000015a0| 45 01 21 62 00 00 00 fd | 07 00 00 77 00 00 00 1c |E.!b....|...w....|
|000015b0| 95 00 45 01 16 a6 01 25 | 16 07 75 00 82 98 01 25 |..E....%|..u....%|
|000015c0| 01 30 16 18 0c 00 9b 3a | 01 8f 3a 24 02 16 16 e7 |.0.....:|..:$....|
|000015d0| 1f 57 65 62 53 65 72 76 | 65 72 3a 20 4c 69 73 74 |.WebServ|er: List|
|000015e0| 65 6e 69 6e 67 20 61 67 | 61 69 6e 20 2d 20 63 6f |ening ag|ain - co|
|000015f0| 6e 6e 65 63 74 69 6f 6e | 73 20 68 61 76 65 20 62 |nnection|s have b|
|00001600| 65 65 6e 20 63 6c 6f 73 | 65 64 2e 00 16 1b 19 16 |een clos|ed......|
|00001610| 04 0b 00 00 00 02 08 00 | 00 00 00 77 01 00 5c 01 |........|...w..\.|
|00001620| 05 31 00 00 00 29 04 00 | 00 5d 00 00 00 07 3b 00 |.1...)..|.]....;.|
|00001630| 2d 01 2f e7 1f 43 61 6e | 27 74 20 73 65 6e 64 20 |-./..Can|'t send |
|00001640| 68 65 61 64 65 72 73 20 | 2d 20 61 6c 72 65 61 64 |headers |- alread|
|00001650| 79 20 63 61 6c 6c 65 64 | 20 53 65 6e 64 54 65 78 |y called| SendTex|
|00001660| 74 28 29 00 16 19 01 17 | 17 00 04 1b 01 70 70 00 |t().....|.....pp.|
|00001670| 5c 01 ec 2c 0d 16 16 ec | 2c 0a 16 16 16 04 0b 00 |\..,....|,.......|
|00001680| 00 00 02 00 00 00 00 00 | 4c 02 00 55 01 12 21 00 |........|L..U..!.|
|00001690| 00 00 32 03 00 00 1b 00 | 00 00 19 01 17 10 00 04 |..2.....|........|
|000016a0| 1b 12 00 55 01 00 56 01 | 16 04 0b 00 00 00 02 08 |...U..V.|........|
|000016b0| 00 00 00 00 6d 01 00 5e | 01 07 39 00 00 00 e4 04 |....m..^|..9.....|
|000016c0| 00 00 19 02 00 00 05 04 | 00 5e 01 0a da 00 1d 90 |........|.^......|
|000016d0| 01 00 00 1b 08 1f 48 54 | 54 50 2f 31 2e 31 20 34 |......HT|TP/1.1 4|
|000016e0| 30 30 20 42 61 64 20 52 | 65 71 75 65 73 74 00 16 |00 Bad R|equest..|
|000016f0| 1b 01 1f 3c 54 49 54 4c | 45 3e 34 30 30 20 42 61 |...<TITL|E>400 Ba|
|00001700| 64 20 52 65 71 75 65 73 | 74 3c 2f 54 49 54 4c 45 |d Reques|t</TITLE|
|00001710| 3e 3c 48 31 3e 34 30 30 | 20 42 61 64 20 52 65 71 |><H1>400| Bad Req|
|00001720| 75 65 73 74 3c 2f 48 31 | 3e 49 66 20 79 6f 75 20 |uest</H1|>If you |
|00001730| 67 6f 74 20 74 68 69 73 | 20 65 72 72 6f 72 20 66 |got this| error f|
|00001740| 72 6f 6d 20 61 20 73 74 | 61 6e 64 61 72 64 20 77 |rom a st|andard w|
|00001750| 65 62 20 62 72 6f 77 73 | 65 72 2c 20 70 6c 65 61 |eb brows|er, plea|
|00001760| 73 65 20 6d 61 69 6c 20 | 6a 61 63 6b 40 65 70 69 |se mail |jack@epi|
|00001770| 63 67 61 6d 65 73 2e 63 | 6f 6d 20 61 6e 64 20 73 |cgames.c|om and s|
|00001780| 75 62 6d 69 74 20 61 20 | 62 75 67 20 72 65 70 6f |ubmit a |bug repo|
|00001790| 72 74 2e 00 16 06 17 02 | 0a 79 01 1d 91 01 00 00 |rt......|.y......|
|000017a0| 1b 08 1f 48 54 54 50 2f | 31 2e 31 20 34 30 31 20 |...HTTP/|1.1 401 |
|000017b0| 55 6e 61 75 74 68 6f 72 | 69 7a 65 64 00 16 1b 05 |Unauthor|ized....|
|000017c0| 70 70 1f 57 57 57 2d 61 | 75 74 68 65 6e 74 69 63 |pp.WWW-a|uthentic|
|000017d0| 61 74 65 3a 20 62 61 73 | 69 63 20 72 65 61 6c 6d |ate: bas|ic realm|
|000017e0| 3d 22 00 00 5f 01 16 1f | 22 00 16 16 1b 01 1f 3c |=".._...|"......<|
|000017f0| 54 49 54 4c 45 3e 34 30 | 31 20 55 6e 61 75 74 68 |TITLE>40|1 Unauth|
|00001800| 6f 72 69 7a 65 64 3c 2f | 54 49 54 4c 45 3e 3c 48 |orized</|TITLE><H|
|00001810| 31 3e 34 30 31 20 55 6e | 61 75 74 68 6f 72 69 7a |1>401 Un|authoriz|
|00001820| 65 64 3c 2f 48 31 3e 00 | 16 06 17 02 0a 11 02 1d |ed</H1>.|........|
|00001830| 94 01 00 00 1b 08 1f 48 | 54 54 50 2f 31 2e 31 20 |.......H|TTP/1.1 |
|00001840| 34 30 34 20 4f 62 6a 65 | 63 74 20 4e 6f 74 20 46 |404 Obje|ct Not F|
|00001850| 6f 75 6e 64 00 16 1b 01 | 1f 3c 54 49 54 4c 45 3e |ound....|.<TITLE>|
|00001860| 34 30 34 20 46 69 6c 65 | 20 4e 6f 74 20 46 6f 75 |404 File| Not Fou|
|00001870| 6e 64 3c 2f 54 49 54 4c | 45 3e 3c 48 31 3e 34 30 |nd</TITL|E><H1>40|
|00001880| 34 20 46 69 6c 65 20 4e | 6f 74 20 46 6f 75 6e 64 |4 File N|ot Found|
|00001890| 3c 2f 48 31 3e 54 68 65 | 20 55 52 4c 20 79 6f 75 |</H1>The| URL you|
|000018a0| 20 72 65 71 75 65 73 74 | 65 64 20 77 61 73 20 6e | request|ed was n|
|000018b0| 6f 74 20 66 6f 75 6e 64 | 2e 00 16 06 17 02 0a ff |ot found|........|
|000018c0| ff 06 17 02 04 0b 00 00 | 00 02 00 00 00 00 00 17 |........|........|
|000018d0| 01 00 00 00 02 40 40 00 | 00 00 00 70 01 05 00 00 |.....@@.|...p....|
|000018e0| 00 02 10 00 00 00 00 00 | 63 01 05 00 00 00 02 10 |........|c.......|
|000018f0| 00 00 00 00 00 18 01 00 | 00 00 80 05 00 00 00 05 |........|........|
|00001900| 00 00 6c 01 00 26 0f 71 | 00 00 00 73 09 00 00 b2 |..l..&.q|...s....|
|00001910| 00 00 00 0f 00 3f 1f 00 | 0f 00 18 25 07 ae 00 96 |.....?..|...%....|
|00001920| 00 18 2c 0a 16 07 a4 00 | 7b 1a 00 18 01 22 1f 00 |..,.....|{...."..|
|00001930| 16 0f 00 23 7d 1a 00 18 | 01 22 16 07 a4 00 82 7a |...#}...|.".....z|
|00001940| 80 00 26 00 23 16 1a 00 | 18 01 22 16 18 26 00 84 |..&.#...|.."..&..|
|00001950| 9a 7d 00 26 16 00 23 16 | 18 13 00 7a 7f 00 26 00 |.}.&..#.|...z..&.|
|00001960| 23 26 16 1f 2f 00 16 16 | 16 0f 00 3f 7f 00 26 00 |#&../...|...?..&.|
|00001970| 23 16 04 1a 00 18 01 0e | a5 00 18 16 06 0f 00 04 |#.......|........|
|00001980| 2a 04 0b 00 00 00 02 00 | 00 00 00 00 00 01 00 00 |*.......|........|
|00001990| 00 80 05 40 00 00 00 00 | 6e 01 00 58 01 18 26 00 |...@....|n..X..&.|
|000019a0| 00 00 88 03 00 00 12 00 | 00 00 1b 07 1d 91 01 00 |........|........|
|000019b0| 00 00 58 01 16 04 0b 00 | 00 00 02 00 00 00 00 00 |..X.....|........|
|000019c0| 76 01 00 5a 01 08 2b 00 | 00 00 cf 03 00 00 15 00 |v..Z..+.|........|
|000019d0| 00 00 1b 05 00 5a 01 16 | 14 2d 01 42 01 27 04 0b |.....Z..|.-.B.'..|
|000019e0| 00 00 00 02 00 00 00 00 | 00 00 01 00 00 00 80 05 |........|........|
|000019f0| 00 00 00 00 00 6a 01 00 | 00 13 a8 00 00 00 62 0b |.....j..|......b.|
|00001a00| 00 00 cd 00 00 00 07 2d | 00 72 01 0b 2a 16 1b 0b |.......-|.r..*...|
|00001a10| 16 19 01 0b 0b 00 00 1b | 07 1d 90 01 00 00 16 1b |........|........|
|00001a20| 02 16 04 0b 07 54 00 72 | 01 0f 2a 16 19 01 0b 0b |.....T.r|..*.....|
|00001a30| 00 00 1b 07 1d 94 01 00 | 00 16 1b 02 16 04 0b 07 |........|........|
|00001a40| ac 00 82 9b 19 01 03 05 | 00 04 01 2c 25 16 18 15 |........|...,%...|
|00001a50| 00 9a 3a 19 01 03 05 00 | 01 01 2b 3a 24 01 16 16 |..:.....|..+:$...|
|00001a60| 0f 01 1a 19 01 03 05 00 | 04 01 2c a2 01 1a 7d 01 |........|..,...}.|
|00001a70| 0a 16 16 1b 0d 16 06 cb | 00 19 01 0f 10 00 00 1b |........|........|
|00001a80| 0a 01 03 01 0b 16 1b 02 | 16 04 0b 00 00 00 02 00 |........|........|
|00001a90| 00 00 00 00 7b 01 00 00 | 02 d9 00 00 00 19 0f 00 |....{...|........|
|00001aa0| 00 4e 00 00 00 07 12 00 | 77 01 03 2a 16 0f 01 03 |.N......|w..*....|
|00001ab0| 2a 07 34 00 77 01 0b 2a | 16 0f 19 01 0b 05 00 04 |*.4.w..*|........|
|00001ac0| 01 17 2a 0f 01 0b 2a 07 | 46 00 77 01 0f 2a 16 0f |..*...*.|F.w..*..|
|00001ad0| 01 0f 2a 1b 11 16 04 0b | 00 00 00 02 00 00 00 00 |..*.....|........|
|00001ae0| 00 79 01 00 00 0d c6 00 | 00 00 67 0d 00 00 da 00 |.y......|..g.....|
|00001af0| 00 00 07 d8 00 98 01 1a | 25 16 07 9d 00 81 7c 19 |........|%.....|.|
|00001b00| 01 03 05 00 00 01 29 1f | 61 70 70 6c 69 63 61 74 |......).|applicat|
|00001b10| 69 6f 6e 2f 78 2d 77 77 | 77 2d 66 6f 72 6d 2d 75 |ion/x-ww|w-form-u|
|00001b20| 72 6c 65 6e 63 6f 64 65 | 64 00 16 16 e7 70 1f 57 |rlencode|d....p.W|
|00001b30| 65 62 43 6f 6e 6e 65 63 | 74 69 6f 6e 3a 20 55 6e |ebConnec|tion: Un|
|00001b40| 6b 6e 6f 77 6e 20 66 6f | 72 6d 20 64 61 74 61 20 |known fo|rm data |
|00001b50| 63 6f 6e 74 65 6e 74 2d | 74 79 70 65 3a 20 00 19 |content-|type: ..|
|00001b60| 01 03 05 00 00 01 29 16 | 16 19 01 0b 0b 00 00 1b |......).|........|
|00001b70| 07 1d 90 01 00 00 16 06 | d2 00 19 01 03 0b 00 00 |........|........|
|00001b80| 1b 0c 01 0a 16 19 01 0f | 10 00 00 1b 0a 01 03 01 |........|........|
|00001b90| 0b 16 0f 01 0a 1f 00 1b | 02 16 04 0b 00 00 00 02 |........|........|
|00001ba0| 00 00 00 00 00 00 01 00 | 00 00 80 05 40 00 00 00 |........|....@...|
|00001bb0| 00 00 01 00 00 00 80 05 | 40 00 00 00 00 5d 01 00 |........|@....]..|
|00001bc0| 10 1b 1d 00 00 00 21 03 | 00 00 e5 00 00 00 07 83 |......!.|........|
|00001bd0| 00 7c 80 00 10 2c 15 16 | 1f 41 75 74 68 6f 72 69 |.|...,..|.Authori|
|00001be0| 7a 61 74 69 6f 6e 3a 20 | 42 61 73 69 63 20 00 16 |zation: |Basic ..|
|00001bf0| 0f 00 10 1c 64 01 7f 00 | 10 2c 15 16 16 0f 00 27 |....d...|.,.....'|
|00001c00| 7e 00 10 1f 3a 00 16 07 | 80 00 9b 00 27 1d ff ff |~...:...|....'...|
|00001c10| ff ff 16 0f 01 35 80 00 | 10 00 27 16 0f 01 3a 7f |.....5..|..'...:.|
|00001c20| 00 10 92 00 27 26 16 16 | 06 e3 00 07 b6 00 7c 80 |....'&..|......|.|
|00001c30| 00 10 2c 10 16 1f 43 6f | 6e 74 65 6e 74 2d 4c 65 |..,...Co|ntent-Le|
|00001c40| 6e 67 74 68 3a 20 00 16 | 0f 01 2c 4a 7f 00 10 2c |ngth: ..|..,J...,|
|00001c50| 10 16 06 e3 00 07 e3 00 | 7c 80 00 10 2c 0e 16 1f |........||...,...|
|00001c60| 43 6f 6e 74 65 6e 74 2d | 54 79 70 65 3a 20 00 16 |Content-|Type: ..|
|00001c70| 0f 01 29 7f 00 10 2c 0e | 16 04 0b 00 00 00 02 00 |..)...,.|........|
|00001c80| 00 00 00 00 40 02 00 08 | 15 5c 00 00 00 d1 05 00 |....@...|.\......|
|00001c90| 00 bc 01 00 00 07 11 00 | 72 01 03 2a 16 1b 0b 16 |........|r..*....|
|00001ca0| 0f 19 01 03 05 00 01 01 | 2b 24 00 0f 00 08 7f 00 |........|+$......|
|00001cb0| 08 2c 04 16 07 52 00 7a | 80 00 08 26 16 1f 20 00 |.,...R.z|...&.. .|
|00001cc0| 16 0f 00 08 7f 00 08 26 | 16 06 31 00 0f 00 19 7e |.......&|..1....~|
|00001cd0| 00 08 1f 20 00 16 07 83 | 00 9b 00 19 1d ff ff ff |... ....|........|
|00001ce0| ff 16 0f 00 08 80 00 08 | 00 19 16 0f 00 19 7e 00 |........|......~.|
|00001cf0| 08 1f 3f 00 16 07 d2 00 | 9b 00 19 1d ff ff ff ff |..?.....|........|
|00001d00| 16 19 01 03 15 00 00 1b | 0c 7f 00 08 92 00 19 26 |........|.......&|
|00001d10| 16 16 16 0f 00 08 80 00 | 08 00 19 16 0f 01 0f 19 |........|........|
|00001d20| 01 11 19 00 04 1b 0f 00 | 08 19 01 03 05 00 00 01 |........|........|
|00001d30| 1e 16 07 4e 01 82 77 01 | 0f 2a 16 18 13 00 7a 19 |...N..w.|.*....z.|
|00001d40| 01 03 05 00 00 01 1e 1f | 00 16 16 19 01 0b 20 00 |........|...... .|
|00001d50| 00 1b 0e 70 70 19 01 11 | 05 00 00 01 16 00 08 16 |...pp...|........|
|00001d60| 1f 2f 00 16 16 1b 02 16 | 06 ba 01 07 ba 01 82 72 |./......|.......r|
|00001d70| 01 0f 2a 16 18 16 00 9b | 19 01 11 05 00 04 01 41 |..*.....|.......A|
|00001d80| 01 1d ff ff ff ff 16 16 | 19 01 0b 38 00 00 1b 0e |........|...8....|
|00001d90| 70 70 19 01 11 05 00 00 | 01 16 1a 19 01 11 05 00 |pp......|........|
|00001da0| 04 01 41 01 19 01 11 05 | 00 00 01 22 16 1f 2f 00 |..A.....|..."../.|
|00001db0| 16 16 1b 02 16 04 0b 00 | 00 00 02 00 00 00 00 a3 |........|........|
|00001dc0| 42 02 00 1c 1c 49 00 00 | 00 c5 04 00 00 7b 00 00 |B....I..|.....{..|
|00001dd0| 00 07 22 00 7c 80 00 1c | 2c 04 16 1f 47 45 54 20 |..".|...|,...GET |
|00001de0| 00 16 1b 15 00 1c 16 06 | 79 00 07 45 00 7c 80 00 |........|y..E.|..|
|00001df0| 1c 2c 05 16 1f 50 4f 53 | 54 20 00 16 1b 17 00 1c |.,...POS|T ......|
|00001e00| 16 06 79 00 07 5a 00 7a | 00 1c 1f 00 16 1b 13 16 |..y..Z.z|........|
|00001e10| 06 79 00 07 79 00 77 01 | 03 2a 16 19 01 03 0b 00 |.y..y.w.|.*......|
|00001e20| 00 1b 1b 00 1c 16 04 0b | 00 00 00 02 00 00 00 00 |........|........|
|00001e30| 00 7e 01 00 28 0c 35 00 | 00 00 e5 04 00 00 87 01 |.~..(.5.|........|
|00001e40| 00 00 0f 00 0c 25 0f 00 | 1d 25 07 63 01 96 00 1d |.....%..|.%.c....|
|00001e50| 7d 00 28 16 16 0f 00 2e | 7f 00 28 00 1d 26 16 05 |}.(.....|..(..&..|
|00001e60| 00 00 2e 0a 5e 00 1f 2b | 00 0f 1a 00 0c 00 06 70 |....^..+|.......p|
|00001e70| 1a 00 0c 00 06 1f 20 00 | 16 06 59 01 0a 64 00 1f |...... .|..Y..d..|
|00001e80| 26 00 0a aa 00 1f 3f 00 | 07 8c 00 7b 1a 25 00 06 |&.....?.|...{.%..|
|00001e90| 1f 00 16 1c 38 1a 25 00 | 06 1a 26 00 06 16 0f 1a |....8.%.|..&.....|
|00001ea0| 25 00 06 1f 00 0f 1a 26 | 00 06 1f 00 0f 00 0c 25 |%......&|.......%|
|00001eb0| 06 59 01 0a e4 00 1f 3d | 00 07 c5 00 9a 00 0c 25 |.Y.....=|.......%|
|00001ec0| 16 0f 00 0c 26 06 e1 00 | 0f 1a 00 0c 00 06 70 1a |....&...|......p.|
|00001ed0| 00 0c 00 06 1f 3d 00 16 | 06 59 01 0a 38 01 1f 25 |.....=..|.Y..8..%|
|00001ee0| 00 0f 1a 00 0c 00 06 70 | 1a 00 0c 00 06 ec 92 90 |.......p|........|
|00001ef0| 2c 10 1b 10 7f 00 28 a3 | 00 1d 16 26 16 16 16 1b |,.....(.|...&....|
|00001f00| 10 7f 00 28 a3 00 1d 16 | 26 16 16 16 16 16 06 59 |...(....|&......Y|
|00001f10| 01 0a ff ff 0f 1a 00 0c | 00 06 70 1a 00 0c 00 06 |........|..p.....|
|00001f20| 00 2e 16 a5 00 1d 16 06 | 0e 00 07 85 01 7b 1a 25 |........|.....{.%|
|00001f30| 00 06 1f 00 16 1c 38 1a | 25 00 06 1a 26 00 06 16 |......8.|%...&...|
|00001f40| 04 0b 00 00 00 02 00 00 | 00 00 a2 43 02 00 40 01 |........|...C..@.|
|00001f50| 33 21 00 00 00 b5 01 00 | 00 fe 00 00 00 0f 01 0a |3!......|........|
|00001f60| 70 01 0a 00 40 01 16 07 | 33 00 97 01 1a 25 16 a2 |p...@...|3....%..|
|00001f70| 01 1a 7d 00 40 01 16 16 | 1b 0d 16 04 0b 07 52 00 |..}.@...|......R.|
|00001f80| 7a 80 01 0a 26 16 ec 2c | 0a 16 16 0f 01 0a 7f 01 |z...&..,|........|
|00001f90| 0a 26 16 0f 00 12 7e 01 | 0a ec 2c 0d 16 16 07 fc |.&....~.|..,.....|
|00001fa0| 00 9b 00 12 1d ff ff ff | ff 16 0f 00 3e 80 01 0a |........|....>...|
|00001fb0| 00 12 16 a5 00 12 16 07 | a8 00 7a 7f 01 0a 00 12 |........|..z.....|
|00001fc0| 26 16 ec 2c 0a 16 16 a5 | 00 12 16 0f 01 0a 7f 01 |&..,....|........|
|00001fd0| 0a 00 12 16 1b 1c 00 3e | 16 07 d5 00 9b 3a 01 8f |.......>|.....:..|
|00001fe0| 3a 24 04 16 04 0b 07 e8 | 00 97 01 1a 25 16 1b 0d |:$......|....%...|
|00001ff0| 16 04 0b 0f 00 12 7e 01 | 0a ec 2c 0d 16 16 06 63 |......~.|..,....c|
|00002000| 00 04 0b 00 00 00 02 08 | 00 00 00 98 44 02 00 00 |........|....D...|
|00002010| 1f 19 00 00 00 5c 01 00 | 00 08 00 00 00 1b 11 16 |.....\..|........|
|00002020| 04 0b 00 00 00 02 08 00 | 00 00 a1 45 02 00 00 2b |........|...E...+|
|00002030| 14 00 00 00 38 01 00 00 | 05 00 00 00 61 17 16 04 |....8...|....a...|
|00002040| 0b 00 00 00 02 08 00 00 | 00 a0 11 00 00 2a 0e 00 |........|.....*..|
|00002050| 00 00 e9 00 00 00 1b 00 | 00 00 0f 01 11 2e 0d 01 |........|........|
|00002060| 9f 61 18 1e 00 00 f0 41 | 28 16 04 0b 00 00 00 02 |.a.....A|(.......|
|00002070| 08 00 00 00 00 00 00 00 | 00 00 00 00 61 2a 63 6c |........|....a*cl|
|00002080| 61 73 73 20 57 65 62 53 | 65 72 76 65 72 20 65 78 |ass WebS|erver ex|
|00002090| 70 61 6e 64 73 20 54 63 | 70 4c 69 6e 6b 3b 0d 0a |pands Tc|pLink;..|
|000020a0| 0d 0a 76 61 72 20 63 6f | 6e 66 69 67 20 73 74 72 |..var co|nfig str|
|000020b0| 69 6e 67 20 41 70 70 6c | 69 63 61 74 69 6f 6e 73 |ing Appl|ications|
|000020c0| 5b 31 30 5d 3b 0d 0a 76 | 61 72 20 63 6f 6e 66 69 |[10];..v|ar confi|
|000020d0| 67 20 73 74 72 69 6e 67 | 20 41 70 70 6c 69 63 61 |g string| Applica|
|000020e0| 74 69 6f 6e 50 61 74 68 | 73 5b 31 30 5d 3b 0d 0a |tionPath|s[10];..|
|000020f0| 76 61 72 20 63 6f 6e 66 | 69 67 20 69 6e 74 20 4c |var conf|ig int L|
|00002100| 69 73 74 65 6e 50 6f 72 | 74 3b 0d 0a 76 61 72 20 |istenPor|t;..var |
|00002110| 63 6f 6e 66 69 67 20 69 | 6e 74 20 4d 61 78 43 6f |config i|nt MaxCo|
|00002120| 6e 6e 65 63 74 69 6f 6e | 73 3b 0d 0a 76 61 72 20 |nnection|s;..var |
|00002130| 63 6f 6e 66 69 67 20 73 | 74 72 69 6e 67 20 53 65 |config s|tring Se|
|00002140| 72 76 65 72 4e 61 6d 65 | 3b 0d 0a 76 61 72 20 63 |rverName|;..var c|
|00002150| 6f 6e 66 69 67 20 62 6f | 6f 6c 20 62 45 6e 61 62 |onfig bo|ol bEnab|
|00002160| 6c 65 64 3b 0d 0a 76 61 | 72 20 63 6f 6e 66 69 67 |led;..va|r config|
|00002170| 20 69 6e 74 20 44 65 66 | 61 75 6c 74 41 70 70 6c | int Def|aultAppl|
|00002180| 69 63 61 74 69 6f 6e 3b | 0d 0a 0d 0a 76 61 72 20 |ication;|....var |
|00002190| 73 74 72 69 6e 67 20 53 | 65 72 76 65 72 55 52 4c |string S|erverURL|
|000021a0| 3b 0d 0a 76 61 72 20 57 | 65 62 41 70 70 6c 69 63 |;..var W|ebApplic|
|000021b0| 61 74 69 6f 6e 20 41 70 | 70 6c 69 63 61 74 69 6f |ation Ap|plicatio|
|000021c0| 6e 4f 62 6a 65 63 74 73 | 5b 31 30 5d 3b 0d 0a 0d |nObjects|[10];...|
|000021d0| 0a 76 61 72 20 69 6e 74 | 20 43 6f 6e 6e 65 63 74 |.var int| Connect|
|000021e0| 69 6f 6e 43 6f 75 6e 74 | 3b 0d 0a 0d 0a 66 75 6e |ionCount|;....fun|
|000021f0| 63 74 69 6f 6e 20 42 65 | 67 69 6e 50 6c 61 79 28 |ction Be|ginPlay(|
|00002200| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00002210| 20 69 3b 0d 0a 09 6c 6f | 63 61 6c 20 63 6c 61 73 | i;...lo|cal clas|
|00002220| 73 3c 57 65 62 41 70 70 | 6c 69 63 61 74 69 6f 6e |s<WebApp|lication|
|00002230| 3e 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 43 6c 61 |> Applic|ationCla|
|00002240| 73 73 3b 0d 0a 09 6c 6f | 63 61 6c 20 49 70 41 64 |ss;...lo|cal IpAd|
|00002250| 64 72 20 6c 3b 0d 0a 09 | 6c 6f 63 61 6c 20 73 74 |dr l;...|local st|
|00002260| 72 69 6e 67 20 73 3b 0d | 0a 0d 0a 09 69 66 28 21 |ring s;.|....if(!|
|00002270| 62 45 6e 61 62 6c 65 64 | 29 0d 0a 09 7b 0d 0a 09 |bEnabled|)...{...|
|00002280| 09 4c 6f 67 28 22 57 65 | 62 73 65 72 76 65 72 20 |.Log("We|bserver |
|00002290| 69 73 20 6e 6f 74 20 65 | 6e 61 62 6c 65 64 2e 20 |is not e|nabled. |
|000022a0| 20 53 65 74 20 62 45 6e | 61 62 6c 65 64 20 74 6f | Set bEn|abled to|
|000022b0| 20 54 72 75 65 20 69 6e | 20 41 64 76 61 6e 63 65 | True in| Advance|
|000022c0| 64 20 4f 70 74 69 6f 6e | 73 2e 22 29 3b 0d 0a 09 |d Option|s.");...|
|000022d0| 09 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 09 09 72 |.Destroy|();....r|
|000022e0| 65 74 75 72 6e 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 53 |eturn;..|.}.....S|
|000022f0| 75 70 65 72 2e 42 65 67 | 69 6e 50 6c 61 79 28 29 |uper.Beg|inPlay()|
|00002300| 3b 0d 0a 09 0d 0a 09 66 | 6f 72 28 69 3d 30 3b 69 |;......f|or(i=0;i|
|00002310| 3c 31 30 3b 69 2b 2b 29 | 0d 0a 09 7b 0d 0a 09 09 |<10;i++)|...{....|
|00002320| 69 66 28 41 70 70 6c 69 | 63 61 74 69 6f 6e 73 5b |if(Appli|cations[|
|00002330| 69 5d 20 3d 3d 20 22 22 | 29 0d 0a 09 09 09 62 72 |i] == ""|).....br|
|00002340| 65 61 6b 3b 0d 0a 0d 0a | 09 09 41 70 70 6c 69 63 |eak;....|..Applic|
|00002350| 61 74 69 6f 6e 43 6c 61 | 73 73 20 3d 20 63 6c 61 |ationCla|ss = cla|
|00002360| 73 73 3c 57 65 62 41 70 | 70 6c 69 63 61 74 69 6f |ss<WebAp|plicatio|
|00002370| 6e 3e 28 44 79 6e 61 6d | 69 63 4c 6f 61 64 4f 62 |n>(Dynam|icLoadOb|
|00002380| 6a 65 63 74 28 41 70 70 | 6c 69 63 61 74 69 6f 6e |ject(App|lication|
|00002390| 73 5b 69 5d 2c 20 63 6c | 61 73 73 27 43 6c 61 73 |s[i], cl|ass'Clas|
|000023a0| 73 27 29 29 3b 0d 0a 09 | 09 69 66 28 41 70 70 6c |s'));...|.if(Appl|
|000023b0| 69 63 61 74 69 6f 6e 43 | 6c 61 73 73 20 21 3d 20 |icationC|lass != |
|000023c0| 4e 6f 6e 65 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 41 |None)...|.{.....A|
|000023d0| 70 70 6c 69 63 61 74 69 | 6f 6e 4f 62 6a 65 63 74 |pplicati|onObject|
|000023e0| 73 5b 69 5d 20 3d 20 4e | 65 77 28 4e 6f 6e 65 29 |s[i] = N|ew(None)|
|000023f0| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 43 6c 61 73 | Applica|tionClas|
|00002400| 73 3b 0d 0a 09 09 09 41 | 70 70 6c 69 63 61 74 69 |s;.....A|pplicati|
|00002410| 6f 6e 4f 62 6a 65 63 74 | 73 5b 69 5d 2e 4c 65 76 |onObject|s[i].Lev|
|00002420| 65 6c 20 3d 20 4c 65 76 | 65 6c 3b 0d 0a 09 09 09 |el = Lev|el;.....|
|00002430| 41 70 70 6c 69 63 61 74 | 69 6f 6e 4f 62 6a 65 63 |Applicat|ionObjec|
|00002440| 74 73 5b 69 5d 2e 57 65 | 62 53 65 72 76 65 72 20 |ts[i].We|bServer |
|00002450| 3d 20 53 65 6c 66 3b 0d | 0a 09 09 09 41 70 70 6c |= Self;.|....Appl|
|00002460| 69 63 61 74 69 6f 6e 4f | 62 6a 65 63 74 73 5b 69 |icationO|bjects[i|
|00002470| 5d 2e 50 61 74 68 20 3d | 20 41 70 70 6c 69 63 61 |].Path =| Applica|
|00002480| 74 69 6f 6e 50 61 74 68 | 73 5b 69 5d 3b 0d 0a 09 |tionPath|s[i];...|
|00002490| 09 09 41 70 70 6c 69 63 | 61 74 69 6f 6e 4f 62 6a |..Applic|ationObj|
|000024a0| 65 63 74 73 5b 69 5d 2e | 49 6e 69 74 28 29 3b 0d |ects[i].|Init();.|
|000024b0| 0a 09 09 7d 0d 0a 09 7d | 0d 0a 0d 0a 09 69 66 28 |...}...}|.....if(|
|000024c0| 53 65 72 76 65 72 4e 61 | 6d 65 20 3d 3d 20 22 22 |ServerNa|me == ""|
|000024d0| 29 0d 0a 09 7b 0d 0a 09 | 09 47 65 74 4c 6f 63 61 |)...{...|.GetLoca|
|000024e0| 6c 49 50 28 6c 29 3b 0d | 0a 09 09 73 20 3d 20 49 |lIP(l);.|...s = I|
|000024f0| 70 41 64 64 72 54 6f 53 | 74 72 69 6e 67 28 6c 29 |pAddrToS|tring(l)|
|00002500| 3b 0d 0a 09 09 69 20 3d | 20 49 6e 53 74 72 28 73 |;....i =| InStr(s|
|00002510| 2c 20 22 3a 22 29 3b 0d | 0a 09 09 69 66 28 69 20 |, ":");.|...if(i |
|00002520| 21 3d 20 2d 31 29 0d 0a | 09 09 09 73 20 3d 20 4c |!= -1)..|...s = L|
|00002530| 65 66 74 28 73 2c 20 69 | 29 3b 0d 0a 09 09 53 65 |eft(s, i|);....Se|
|00002540| 72 76 65 72 55 52 4c 20 | 3d 20 22 68 74 74 70 3a |rverURL |= "http:|
|00002550| 2f 2f 22 24 73 3b 0d 0a | 09 7d 0d 0a 09 65 6c 73 |//"$s;..|.}...els|
|00002560| 65 0d 0a 09 09 53 65 72 | 76 65 72 55 52 4c 20 3d |e....Ser|verURL =|
|00002570| 20 22 68 74 74 70 3a 2f | 2f 22 24 53 65 72 76 65 | "http:/|/"$Serve|
|00002580| 72 4e 61 6d 65 3b 0d 0a | 0d 0a 09 69 66 28 4c 69 |rName;..|...if(Li|
|00002590| 73 74 65 6e 50 6f 72 74 | 20 21 3d 20 38 30 29 0d |stenPort| != 80).|
|000025a0| 0a 09 09 53 65 72 76 65 | 72 55 52 4c 20 3d 20 53 |...Serve|rURL = S|
|000025b0| 65 72 76 65 72 55 52 4c | 20 24 20 22 3a 22 24 73 |erverURL| $ ":"$s|
|000025c0| 74 72 69 6e 67 28 4c 69 | 73 74 65 6e 50 6f 72 74 |tring(Li|stenPort|
|000025d0| 29 3b 0d 0a 0d 0a 09 42 | 69 6e 64 50 6f 72 74 28 |);.....B|indPort(|
|000025e0| 20 4c 69 73 74 65 6e 50 | 6f 72 74 20 29 3b 0d 0a | ListenP|ort );..|
|000025f0| 09 4c 69 73 74 65 6e 28 | 29 3b 0d 0a 7d 0d 0a 0d |.Listen(|);..}...|
|00002600| 0a 65 76 65 6e 74 20 44 | 65 73 74 72 6f 79 65 64 |.event D|estroyed|
|00002610| 28 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |()..{...|local in|
|00002620| 74 20 69 3b 0d 0a 0d 0a | 09 66 6f 72 28 69 3d 30 |t i;....|.for(i=0|
|00002630| 3b 69 3c 31 30 3b 69 2b | 2b 29 0d 0a 09 09 69 66 |;i<10;i+|+)....if|
|00002640| 28 41 70 70 6c 69 63 61 | 74 69 6f 6e 4f 62 6a 65 |(Applica|tionObje|
|00002650| 63 74 73 5b 69 5d 20 21 | 3d 20 4e 6f 6e 65 29 0d |cts[i] !|= None).|
|00002660| 0a 09 09 7b 0d 0a 09 09 | 09 41 70 70 6c 69 63 61 |...{....|.Applica|
|00002670| 74 69 6f 6e 4f 62 6a 65 | 63 74 73 5b 69 5d 2e 43 |tionObje|cts[i].C|
|00002680| 6c 65 61 6e 75 70 28 29 | 3b 0d 0a 09 09 09 41 70 |leanup()|;.....Ap|
|00002690| 70 6c 69 63 61 74 69 6f | 6e 4f 62 6a 65 63 74 73 |plicatio|nObjects|
|000026a0| 5b 69 5d 2e 4c 65 76 65 | 6c 20 3d 20 4e 6f 6e 65 |[i].Leve|l = None|
|000026b0| 3b 0d 0a 09 09 09 41 70 | 70 6c 69 63 61 74 69 6f |;.....Ap|plicatio|
|000026c0| 6e 4f 62 6a 65 63 74 73 | 5b 69 5d 2e 57 65 62 53 |nObjects|[i].WebS|
|000026d0| 65 72 76 65 72 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 09 |erver = |None;...|
|000026e0| 09 09 41 70 70 6c 69 63 | 61 74 69 6f 6e 4f 62 6a |..Applic|ationObj|
|000026f0| 65 63 74 73 5b 69 5d 20 | 3d 20 4e 6f 6e 65 3b 0d |ects[i] |= None;.|
|00002700| 0a 09 09 7d 0d 0a 0d 0a | 09 53 75 70 65 72 2e 44 |...}....|.Super.D|
|00002710| 65 73 74 72 6f 79 65 64 | 28 29 3b 0d 0a 7d 0d 0a |estroyed|();..}..|
|00002720| 0d 0a 65 76 65 6e 74 20 | 47 61 69 6e 65 64 43 68 |..event |GainedCh|
|00002730| 69 6c 64 28 20 41 63 74 | 6f 72 20 43 20 29 0d 0a |ild( Act|or C )..|
|00002740| 7b 0d 0a 09 53 75 70 65 | 72 2e 47 61 69 6e 65 64 |{...Supe|r.Gained|
|00002750| 43 68 69 6c 64 28 43 29 | 3b 0d 0a 09 43 6f 6e 6e |Child(C)|;...Conn|
|00002760| 65 63 74 69 6f 6e 43 6f | 75 6e 74 2b 2b 3b 0d 0a |ectionCo|unt++;..|
|00002770| 0d 0a 09 2f 2f 20 69 66 | 20 74 6f 6f 20 6d 61 6e |...// if| too man|
|00002780| 79 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 73 2c 20 63 |y connec|tions, c|
|00002790| 6c 6f 73 65 20 64 6f 77 | 6e 20 6c 69 73 74 65 6e |lose dow|n listen|
|000027a0| 2e 0d 0a 09 69 66 28 4d | 61 78 43 6f 6e 6e 65 63 |....if(M|axConnec|
|000027b0| 74 69 6f 6e 73 20 3e 20 | 30 20 26 26 20 43 6f 6e |tions > |0 && Con|
|000027c0| 6e 65 63 74 69 6f 6e 43 | 6f 75 6e 74 20 3e 20 4d |nectionC|ount > M|
|000027d0| 61 78 43 6f 6e 6e 65 63 | 74 69 6f 6e 73 20 26 26 |axConnec|tions &&|
|000027e0| 20 4c 69 6e 6b 53 74 61 | 74 65 20 3d 3d 20 53 54 | LinkSta|te == ST|
|000027f0| 41 54 45 5f 4c 69 73 74 | 65 6e 69 6e 67 29 0d 0a |ATE_List|ening)..|
|00002800| 09 7b 0d 0a 09 09 4c 6f | 67 28 22 57 65 62 53 65 |.{....Lo|g("WebSe|
|00002810| 72 76 65 72 3a 20 54 6f | 6f 20 6d 61 6e 79 20 63 |rver: To|o many c|
|00002820| 6f 6e 6e 65 63 74 69 6f | 6e 73 20 2d 20 63 6c 6f |onnectio|ns - clo|
|00002830| 73 69 6e 67 20 64 6f 77 | 6e 20 4c 69 73 74 65 6e |sing dow|n Listen|
|00002840| 2e 22 29 3b 0d 0a 09 09 | 43 6c 6f 73 65 28 29 3b |.");....|Close();|
|00002850| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 65 76 65 6e 74 |...}..}.|...event|
|00002860| 20 4c 6f 73 74 43 68 69 | 6c 64 28 20 41 63 74 6f | LostChi|ld( Acto|
|00002870| 72 20 43 20 29 0d 0a 7b | 0d 0a 09 53 75 70 65 72 |r C )..{|...Super|
|00002880| 2e 4c 6f 73 74 43 68 69 | 6c 64 28 43 29 3b 0d 0a |.LostChi|ld(C);..|
|00002890| 09 43 6f 6e 6e 65 63 74 | 69 6f 6e 43 6f 75 6e 74 |.Connect|ionCount|
|000028a0| 2d 2d 3b 0d 0a 0d 0a 09 | 2f 2f 20 69 66 20 63 6c |--;.....|// if cl|
|000028b0| 6f 73 65 64 20 64 75 65 | 20 74 6f 20 74 6f 6f 20 |osed due| to too |
|000028c0| 6d 61 6e 79 20 63 6f 6e | 6e 65 63 74 69 6f 6e 73 |many con|nections|
|000028d0| 2c 20 73 74 61 72 74 20 | 6c 69 73 74 65 6e 69 6e |, start |listenin|
|000028e0| 67 20 61 67 61 69 6e 2e | 0d 0a 09 69 66 28 43 6f |g again.|...if(Co|
|000028f0| 6e 6e 65 63 74 69 6f 6e | 43 6f 75 6e 74 20 3c 3d |nnection|Count <=|
|00002900| 20 4d 61 78 43 6f 6e 6e | 65 63 74 69 6f 6e 73 20 | MaxConn|ections |
|00002910| 26 26 20 4c 69 6e 6b 53 | 74 61 74 65 20 21 3d 20 |&& LinkS|tate != |
|00002920| 53 54 41 54 45 5f 4c 69 | 73 74 65 6e 69 6e 67 29 |STATE_Li|stening)|
|00002930| 0d 0a 09 7b 0d 0a 09 09 | 4c 6f 67 28 22 57 65 62 |...{....|Log("Web|
|00002940| 53 65 72 76 65 72 3a 20 | 4c 69 73 74 65 6e 69 6e |Server: |Listenin|
|00002950| 67 20 61 67 61 69 6e 20 | 2d 20 63 6f 6e 6e 65 63 |g again |- connec|
|00002960| 74 69 6f 6e 73 20 68 61 | 76 65 20 62 65 65 6e 20 |tions ha|ve been |
|00002970| 63 6c 6f 73 65 64 2e 22 | 29 3b 0d 0a 09 09 4c 69 |closed."|);....Li|
|00002980| 73 74 65 6e 28 29 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |sten();.|..}..}..|
|00002990| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 57 65 62 41 70 |..functi|on WebAp|
|000029a0| 70 6c 69 63 61 74 69 6f | 6e 20 47 65 74 41 70 70 |plicatio|n GetApp|
|000029b0| 6c 69 63 61 74 69 6f 6e | 28 73 74 72 69 6e 67 20 |lication|(string |
|000029c0| 55 52 49 2c 20 6f 75 74 | 20 73 74 72 69 6e 67 20 |URI, out| string |
|000029d0| 53 75 62 55 52 49 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |SubURI).|.{...loc|
|000029e0| 61 6c 20 69 6e 74 20 69 | 2c 20 6c 3b 0d 0a 0d 0a |al int i|, l;....|
|000029f0| 09 53 75 62 55 52 49 20 | 3d 20 22 22 3b 0d 0a 09 |.SubURI |= "";...|
|00002a00| 66 6f 72 28 69 3d 30 3b | 69 3c 31 30 3b 69 2b 2b |for(i=0;|i<10;i++|
|00002a10| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 28 41 70 70 6c |)...{...|.if(Appl|
|00002a20| 69 63 61 74 69 6f 6e 50 | 61 74 68 73 5b 69 5d 20 |icationP|aths[i] |
|00002a30| 21 3d 20 22 22 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |!= "")..|..{.....|
|00002a40| 6c 20 3d 20 4c 65 6e 28 | 41 70 70 6c 69 63 61 74 |l = Len(|Applicat|
|00002a50| 69 6f 6e 50 61 74 68 73 | 5b 69 5d 29 3b 0d 0a 09 |ionPaths|[i]);...|
|00002a60| 09 09 69 66 28 4c 65 66 | 74 28 55 52 49 2c 20 6c |..if(Lef|t(URI, l|
|00002a70| 29 20 3d 3d 20 41 70 70 | 6c 69 63 61 74 69 6f 6e |) == App|lication|
|00002a80| 50 61 74 68 73 5b 69 5d | 20 26 26 20 28 4c 65 6e |Paths[i]| && (Len|
|00002a90| 28 55 52 49 29 20 3d 3d | 20 6c 20 7c 7c 20 4d 69 |(URI) ==| l || Mi|
|00002aa0| 64 28 55 52 49 2c 20 6c | 2c 20 31 29 20 3d 3d 20 |d(URI, l|, 1) == |
|00002ab0| 22 2f 22 29 29 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |"/"))...|..{.....|
|00002ac0| 09 53 75 62 55 52 49 20 | 3d 20 4d 69 64 28 55 52 |.SubURI |= Mid(UR|
|00002ad0| 49 2c 20 6c 29 3b 0d 0a | 09 09 09 09 72 65 74 75 |I, l);..|....retu|
|00002ae0| 72 6e 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 4f 62 |rn Appli|cationOb|
|00002af0| 6a 65 63 74 73 5b 69 5d | 3b 0d 0a 09 09 09 7d 0d |jects[i]|;.....}.|
|00002b00| 0a 09 09 7d 0d 0a 09 7d | 0d 0a 09 72 65 74 75 72 |...}...}|...retur|
|00002b10| 6e 20 4e 6f 6e 65 3b 0d | 0a 7d 0d 0a 0d 0a 00 00 |n None;.|.}......|
|00002b20| 00 41 02 00 62 01 10 5a | 00 00 00 71 07 00 00 9e |.A..b..Z|...q....|
|00002b30| 00 00 00 05 00 eb 00 62 | 01 16 0a 11 00 1f 30 00 |.......b|......0.|
|00002b40| 04 25 0a 19 00 1f 31 00 | 04 26 0a 22 00 1f 32 00 |.%....1.|.&."..2.|
|00002b50| 04 2c 02 0a 2b 00 1f 33 | 00 04 2c 03 0a 34 00 1f |.,..+..3|..,..4..|
|00002b60| 34 00 04 2c 04 0a 3d 00 | 1f 35 00 04 2c 05 0a 46 |4..,..=.|.5..,..F|
|00002b70| 00 1f 36 00 04 2c 06 0a | 4f 00 1f 37 00 04 2c 07 |..6..,..|O..7..,.|
|00002b80| 0a 58 00 1f 38 00 04 2c | 08 0a 61 00 1f 39 00 04 |.X..8..,|..a..9..|
|00002b90| 2c 09 0a 6a 00 1f 41 00 | 04 2c 0a 0a 73 00 1f 42 |,..j..A.|.,..s..B|
|00002ba0| 00 04 2c 0b 0a 7c 00 1f | 43 00 04 2c 0c 0a 85 00 |..,..|..|C..,....|
|00002bb0| 1f 44 00 04 2c 0d 0a 8e | 00 1f 45 00 04 2c 0e 0a |.D..,...|..E..,..|
|00002bc0| 97 00 1f 46 00 04 2c 0f | 0a ff ff 04 25 04 0b 00 |...F..,.|....%...|
|00002bd0| 00 00 02 00 00 00 00 00 | 7f 01 00 09 17 82 00 00 |........|........|
|00002be0| 00 b9 08 00 00 4d 01 00 | 00 07 11 00 72 01 03 2a |.....M..|....r..*|
|00002bf0| 16 1b 0b 16 0f 19 01 03 | 05 00 01 01 2b 24 01 0f |........|....+$..|
|00002c00| 00 09 7f 00 09 2c 05 16 | 07 52 00 7a 80 00 09 26 |.....,..|.R.z...&|
|00002c10| 16 1f 20 00 16 0f 00 09 | 7f 00 09 26 16 06 31 00 |.. .....|...&..1.|
|00002c20| 0f 00 15 7e 00 09 1f 20 | 00 16 07 83 00 9b 00 15 |...~... |........|
|00002c30| 1d ff ff ff ff 16 0f 00 | 09 80 00 09 00 15 16 0f |........|........|
|00002c40| 00 15 7e 00 09 1f 3f 00 | 16 07 d2 00 9b 00 15 1d |..~...?.|........|
|00002c50| ff ff ff ff 16 19 01 03 | 15 00 00 1b 0c 7f 00 09 |........|........|
|00002c60| 92 00 15 26 16 16 16 0f | 00 09 80 00 09 00 15 16 |...&....|........|
|00002c70| 0f 01 0f 19 01 11 19 00 | 04 1b 0f 00 09 19 01 03 |........|........|
|00002c80| 05 00 00 01 1e 16 07 4b | 01 82 77 01 0f 2a 16 18 |.......K|..w..*..|
|00002c90| 13 00 7a 19 01 03 05 00 | 00 01 1e 1f 00 16 16 19 |..z.....|........|
|00002ca0| 01 0b 20 00 00 1b 0e 70 | 70 19 01 11 05 00 00 01 |.. ....p|p.......|
|00002cb0| 16 00 09 16 1f 2f 00 16 | 16 1b 02 16 04 0b 00 00 |...../..|........|
|00002cc0| 00 02 00 00 00 00 00 00 | 01 00 00 00 80 05 00 00 |........|........|
|00002cd0| 00 00 00 00 00 00 00 00 | 00 00 71 27 63 6c 61 73 |........|..q'clas|
|00002ce0| 73 20 57 65 62 52 65 73 | 70 6f 6e 73 65 20 65 78 |s WebRes|ponse ex|
|00002cf0| 70 61 6e 64 73 20 4f 62 | 6a 65 63 74 0d 0a 09 6e |pands Ob|ject...n|
|00002d00| 61 74 69 76 65 0d 0a 09 | 6e 6f 65 78 70 6f 72 74 |ative...|noexport|
|00002d10| 3b 0d 0a 0d 0a 76 61 72 | 20 70 72 69 76 61 74 65 |;....var| private|
|00002d20| 20 6e 61 74 69 76 65 20 | 63 6f 6e 73 74 20 69 6e | native |const in|
|00002d30| 74 20 52 65 70 6c 61 63 | 65 6d 65 6e 74 4d 61 70 |t Replac|ementMap|
|00002d40| 5b 35 5d 3b 09 2f 2f 20 | 54 4d 61 70 3c 46 53 74 |[5];.// |TMap<FSt|
|00002d50| 72 69 6e 67 2c 20 46 53 | 74 72 69 6e 67 3e 21 0d |ring, FS|tring>!.|
|00002d60| 0a 76 61 72 20 63 6f 6e | 73 74 20 63 6f 6e 66 69 |.var con|st confi|
|00002d70| 67 20 73 74 72 69 6e 67 | 20 49 6e 63 6c 75 64 65 |g string| Include|
|00002d80| 50 61 74 68 3b 0d 0a 76 | 61 72 20 57 65 62 43 6f |Path;..v|ar WebCo|
|00002d90| 6e 6e 65 63 74 69 6f 6e | 20 43 6f 6e 6e 65 63 74 |nnection| Connect|
|00002da0| 69 6f 6e 3b 0d 0a 76 61 | 72 20 62 6f 6f 6c 20 62 |ion;..va|r bool b|
|00002db0| 53 65 6e 74 54 65 78 74 | 3b 20 2f 2f 20 75 73 65 |SentText|; // use|
|00002dc0| 64 20 74 6f 20 77 61 72 | 6e 20 68 65 61 64 65 72 |d to war|n header|
|00002dd0| 73 20 61 6c 72 65 61 64 | 79 20 73 65 6e 74 0d 0a |s alread|y sent..|
|00002de0| 76 61 72 20 62 6f 6f 6c | 20 62 53 65 6e 74 52 65 |var bool| bSentRe|
|00002df0| 73 70 6f 6e 73 65 3b 0d | 0a 0d 0a 2f 2f 20 75 68 |sponse;.|...// uh|
|00002e00| 74 6d 20 69 6e 63 6c 75 | 64 69 6e 67 0d 0a 6e 61 |tm inclu|ding..na|
|00002e10| 74 69 76 65 20 66 69 6e | 61 6c 20 66 75 6e 63 74 |tive fin|al funct|
|00002e20| 69 6f 6e 20 53 75 62 73 | 74 28 73 74 72 69 6e 67 |ion Subs|t(string|
|00002e30| 20 56 61 72 69 61 62 6c | 65 2c 20 73 74 72 69 6e | Variabl|e, strin|
|00002e40| 67 20 56 61 6c 75 65 2c | 20 6f 70 74 69 6f 6e 61 |g Value,| optiona|
|00002e50| 6c 20 62 6f 6f 6c 20 62 | 43 6c 65 61 72 29 3b 0d |l bool b|Clear);.|
|00002e60| 0a 6e 61 74 69 76 65 20 | 66 69 6e 61 6c 20 66 75 |.native |final fu|
|00002e70| 6e 63 74 69 6f 6e 20 43 | 6c 65 61 72 53 75 62 73 |nction C|learSubs|
|00002e80| 74 28 29 3b 0d 0a 6e 61 | 74 69 76 65 20 66 69 6e |t();..na|tive fin|
|00002e90| 61 6c 20 66 75 6e 63 74 | 69 6f 6e 20 49 6e 63 6c |al funct|ion Incl|
|00002ea0| 75 64 65 55 48 54 4d 28 | 73 74 72 69 6e 67 20 46 |udeUHTM(|string F|
|00002eb0| 69 6c 65 6e 61 6d 65 29 | 3b 0d 0a 6e 61 74 69 76 |ilename)|;..nativ|
|00002ec0| 65 20 66 69 6e 61 6c 20 | 66 75 6e 63 74 69 6f 6e |e final |function|
|00002ed0| 20 49 6e 63 6c 75 64 65 | 42 69 6e 61 72 79 46 69 | Include|BinaryFi|
|00002ee0| 6c 65 28 73 74 72 69 6e | 67 20 46 69 6c 65 6e 61 |le(strin|g Filena|
|00002ef0| 6d 65 29 3b 0d 0a 0d 0a | 65 76 65 6e 74 20 53 65 |me);....|event Se|
|00002f00| 6e 64 54 65 78 74 28 73 | 74 72 69 6e 67 20 54 65 |ndText(s|tring Te|
|00002f10| 78 74 2c 20 6f 70 74 69 | 6f 6e 61 6c 20 62 6f 6f |xt, opti|onal boo|
|00002f20| 6c 20 62 4e 6f 43 52 4c | 46 29 0d 0a 7b 0d 0a 09 |l bNoCRL|F)..{...|
|00002f30| 69 66 28 21 62 53 65 6e | 74 54 65 78 74 29 0d 0a |if(!bSen|tText)..|
|00002f40| 09 7b 0d 0a 09 09 53 65 | 6e 64 53 74 61 6e 64 61 |.{....Se|ndStanda|
|00002f50| 72 64 48 65 61 64 65 72 | 73 28 29 3b 0d 0a 09 09 |rdHeader|s();....|
|00002f60| 62 53 65 6e 74 54 65 78 | 74 20 3d 20 54 72 75 65 |bSentTex|t = True|
|00002f70| 3b 0d 0a 09 7d 09 0d 0a | 0d 0a 09 69 66 28 62 4e |;...}...|...if(bN|
|00002f80| 6f 43 52 4c 46 29 0d 0a | 09 09 43 6f 6e 6e 65 63 |oCRLF)..|..Connec|
|00002f90| 74 69 6f 6e 2e 53 65 6e | 64 54 65 78 74 28 54 65 |tion.Sen|dText(Te|
|00002fa0| 78 74 29 3b 0d 0a 09 65 | 6c 73 65 0d 0a 09 09 43 |xt);...e|lse....C|
|00002fb0| 6f 6e 6e 65 63 74 69 6f | 6e 2e 53 65 6e 64 54 65 |onnectio|n.SendTe|
|00002fc0| 78 74 28 54 65 78 74 24 | 43 68 72 28 31 33 29 24 |xt(Text$|Chr(13)$|
|00002fd0| 43 68 72 28 31 30 29 29 | 3b 0d 0a 7d 0d 0a 0d 0a |Chr(10))|;..}....|
|00002fe0| 65 76 65 6e 74 20 53 65 | 6e 64 42 69 6e 61 72 79 |event Se|ndBinary|
|00002ff0| 28 69 6e 74 20 43 6f 75 | 6e 74 2c 20 62 79 74 65 |(int Cou|nt, byte|
|00003000| 20 42 5b 32 35 35 5d 29 | 0d 0a 7b 0d 0a 09 43 6f | B[255])|..{...Co|
|00003010| 6e 6e 65 63 74 69 6f 6e | 2e 53 65 6e 64 42 69 6e |nnection|.SendBin|
|00003020| 61 72 79 28 43 6f 75 6e | 74 2c 20 42 29 3b 0d 0a |ary(Coun|t, B);..|
|00003030| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 46 61 |}....fun|ction Fa|
|00003040| 69 6c 41 75 74 68 65 6e | 74 69 63 61 74 69 6f 6e |ilAuthen|tication|
|00003050| 28 73 74 72 69 6e 67 20 | 52 65 61 6c 6d 29 0d 0a |(string |Realm)..|
|00003060| 7b 0d 0a 09 48 54 54 50 | 45 72 72 6f 72 28 34 30 |{...HTTP|Error(40|
|00003070| 31 2c 20 52 65 61 6c 6d | 29 3b 0d 0a 7d 0d 0a 0d |1, Realm|);..}...|
|00003080| 0a 66 75 6e 63 74 69 6f | 6e 20 48 54 54 50 52 65 |.functio|n HTTPRe|
|00003090| 73 70 6f 6e 73 65 28 73 | 74 72 69 6e 67 20 48 65 |sponse(s|tring He|
|000030a0| 61 64 65 72 29 0d 0a 7b | 0d 0a 09 48 54 54 50 48 |ader)..{|...HTTPH|
|000030b0| 65 61 64 65 72 28 48 65 | 61 64 65 72 29 3b 0d 0a |eader(He|ader);..|
|000030c0| 09 62 53 65 6e 74 52 65 | 73 70 6f 6e 73 65 20 3d |.bSentRe|sponse =|
|000030d0| 20 54 72 75 65 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e | True;..|}....fun|
|000030e0| 63 74 69 6f 6e 20 48 54 | 54 50 48 65 61 64 65 72 |ction HT|TPHeader|
|000030f0| 28 73 74 72 69 6e 67 20 | 48 65 61 64 65 72 29 0d |(string |Header).|
|00003100| 0a 7b 0d 0a 09 69 66 28 | 62 53 65 6e 74 54 65 78 |.{...if(|bSentTex|
|00003110| 74 29 0d 0a 09 09 4c 6f | 67 28 22 43 61 6e 27 74 |t)....Lo|g("Can't|
|00003120| 20 73 65 6e 64 20 68 65 | 61 64 65 72 73 20 2d 20 | send he|aders - |
|00003130| 61 6c 72 65 61 64 79 20 | 63 61 6c 6c 65 64 20 53 |already |called S|
|00003140| 65 6e 64 54 65 78 74 28 | 29 22 29 3b 0d 0a 0d 0a |endText(|)");....|
|00003150| 09 43 6f 6e 6e 65 63 74 | 69 6f 6e 2e 53 65 6e 64 |.Connect|ion.Send|
|00003160| 54 65 78 74 28 48 65 61 | 64 65 72 24 43 68 72 28 |Text(Hea|der$Chr(|
|00003170| 31 33 29 24 43 68 72 28 | 31 30 29 29 3b 0d 0a 7d |13)$Chr(|10));..}|
|00003180| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 48 54 54 |....func|tion HTT|
|00003190| 50 45 72 72 6f 72 28 69 | 6e 74 20 45 72 72 6f 72 |PError(i|nt Error|
|000031a0| 4e 75 6d 2c 20 6f 70 74 | 69 6f 6e 61 6c 20 73 74 |Num, opt|ional st|
|000031b0| 72 69 6e 67 20 44 61 74 | 61 29 0d 0a 7b 0d 0a 09 |ring Dat|a)..{...|
|000031c0| 73 77 69 74 63 68 28 45 | 72 72 6f 72 4e 75 6d 29 |switch(E|rrorNum)|
|000031d0| 0d 0a 09 7b 0d 0a 09 63 | 61 73 65 20 34 30 30 3a |...{...c|ase 400:|
|000031e0| 0d 0a 09 09 48 54 54 50 | 52 65 73 70 6f 6e 73 65 |....HTTP|Response|
|000031f0| 28 22 48 54 54 50 2f 31 | 2e 31 20 34 30 30 20 42 |("HTTP/1|.1 400 B|
|00003200| 61 64 20 52 65 71 75 65 | 73 74 22 29 3b 0d 0a 09 |ad Reque|st");...|
|00003210| 09 53 65 6e 64 54 65 78 | 74 28 22 3c 54 49 54 4c |.SendTex|t("<TITL|
|00003220| 45 3e 34 30 30 20 42 61 | 64 20 52 65 71 75 65 73 |E>400 Ba|d Reques|
|00003230| 74 3c 2f 54 49 54 4c 45 | 3e 3c 48 31 3e 34 30 30 |t</TITLE|><H1>400|
|00003240| 20 42 61 64 20 52 65 71 | 75 65 73 74 3c 2f 48 31 | Bad Req|uest</H1|
|00003250| 3e 49 66 20 79 6f 75 20 | 67 6f 74 20 74 68 69 73 |>If you |got this|
|00003260| 20 65 72 72 6f 72 20 66 | 72 6f 6d 20 61 20 73 74 | error f|rom a st|
|00003270| 61 6e 64 61 72 64 20 77 | 65 62 20 62 72 6f 77 73 |andard w|eb brows|
|00003280| 65 72 2c 20 70 6c 65 61 | 73 65 20 6d 61 69 6c 20 |er, plea|se mail |
|00003290| 6a 61 63 6b 40 65 70 69 | 63 67 61 6d 65 73 2e 63 |jack@epi|cgames.c|
|000032a0| 6f 6d 20 61 6e 64 20 73 | 75 62 6d 69 74 20 61 20 |om and s|ubmit a |
|000032b0| 62 75 67 20 72 65 70 6f | 72 74 2e 22 29 3b 0d 0a |bug repo|rt.");..|
|000032c0| 09 09 62 72 65 61 6b 3b | 0d 0a 09 63 61 73 65 20 |..break;|...case |
|000032d0| 34 30 31 3a 0d 0a 09 09 | 48 54 54 50 52 65 73 70 |401:....|HTTPResp|
|000032e0| 6f 6e 73 65 28 22 48 54 | 54 50 2f 31 2e 31 20 34 |onse("HT|TP/1.1 4|
|000032f0| 30 31 20 55 6e 61 75 74 | 68 6f 72 69 7a 65 64 22 |01 Unaut|horized"|
|00003300| 29 3b 0d 0a 09 09 48 54 | 54 50 48 65 61 64 65 72 |);....HT|TPHeader|
|00003310| 28 22 57 57 57 2d 61 75 | 74 68 65 6e 74 69 63 61 |("WWW-au|thentica|
|00003320| 74 65 3a 20 62 61 73 69 | 63 20 72 65 61 6c 6d 3d |te: basi|c realm=|
|00003330| 5c 22 22 24 44 61 74 61 | 24 22 5c 22 22 29 3b 0d |\""$Data|$"\"");.|
|00003340| 0a 09 09 53 65 6e 64 54 | 65 78 74 28 22 3c 54 49 |...SendT|ext("<TI|
|00003350| 54 4c 45 3e 34 30 31 20 | 55 6e 61 75 74 68 6f 72 |TLE>401 |Unauthor|
|00003360| 69 7a 65 64 3c 2f 54 49 | 54 4c 45 3e 3c 48 31 3e |ized</TI|TLE><H1>|
|00003370| 34 30 31 20 55 6e 61 75 | 74 68 6f 72 69 7a 65 64 |401 Unau|thorized|
|00003380| 3c 2f 48 31 3e 22 29 3b | 0d 0a 09 09 62 72 65 61 |</H1>");|....brea|
|00003390| 6b 3b 0d 0a 09 63 61 73 | 65 20 34 30 34 3a 0d 0a |k;...cas|e 404:..|
|000033a0| 09 09 48 54 54 50 52 65 | 73 70 6f 6e 73 65 28 22 |..HTTPRe|sponse("|
|000033b0| 48 54 54 50 2f 31 2e 31 | 20 34 30 34 20 4f 62 6a |HTTP/1.1| 404 Obj|
|000033c0| 65 63 74 20 4e 6f 74 20 | 46 6f 75 6e 64 22 29 3b |ect Not |Found");|
|000033d0| 0d 0a 09 09 53 65 6e 64 | 54 65 78 74 28 22 3c 54 |....Send|Text("<T|
|000033e0| 49 54 4c 45 3e 34 30 34 | 20 46 69 6c 65 20 4e 6f |ITLE>404| File No|
|000033f0| 74 20 46 6f 75 6e 64 3c | 2f 54 49 54 4c 45 3e 3c |t Found<|/TITLE><|
|00003400| 48 31 3e 34 30 34 20 46 | 69 6c 65 20 4e 6f 74 20 |H1>404 F|ile Not |
|00003410| 46 6f 75 6e 64 3c 2f 48 | 31 3e 54 68 65 20 55 52 |Found</H|1>The UR|
|00003420| 4c 20 79 6f 75 20 72 65 | 71 75 65 73 74 65 64 20 |L you re|quested |
|00003430| 77 61 73 20 6e 6f 74 20 | 66 6f 75 6e 64 2e 22 29 |was not |found.")|
|00003440| 3b 0d 0a 09 09 62 72 65 | 61 6b 3b 0d 0a 09 64 65 |;....bre|ak;...de|
|00003450| 66 61 75 6c 74 3a 0d 0a | 09 09 62 72 65 61 6b 3b |fault:..|..break;|
|00003460| 0d 0a 09 7d 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |...}..}.|...funct|
|00003470| 69 6f 6e 20 53 65 6e 64 | 53 74 61 6e 64 61 72 64 |ion Send|Standard|
|00003480| 48 65 61 64 65 72 73 28 | 20 6f 70 74 69 6f 6e 61 |Headers(| optiona|
|00003490| 6c 20 73 74 72 69 6e 67 | 20 43 6f 6e 74 65 6e 74 |l string| Content|
|000034a0| 54 79 70 65 20 29 0d 0a | 7b 0d 0a 09 69 66 28 43 |Type )..|{...if(C|
|000034b0| 6f 6e 74 65 6e 74 54 79 | 70 65 20 3d 3d 20 22 22 |ontentTy|pe == ""|
|000034c0| 29 0d 0a 09 09 43 6f 6e | 74 65 6e 74 54 79 70 65 |)....Con|tentType|
|000034d0| 20 3d 20 22 74 65 78 74 | 2f 68 74 6d 6c 22 3b 0d | = "text|/html";.|
|000034e0| 0a 09 69 66 28 21 62 53 | 65 6e 74 52 65 73 70 6f |..if(!bS|entRespo|
|000034f0| 6e 73 65 29 0d 0a 09 09 | 48 54 54 50 52 65 73 70 |nse)....|HTTPResp|
|00003500| 6f 6e 73 65 28 22 48 54 | 54 50 2f 31 2e 31 20 32 |onse("HT|TP/1.1 2|
|00003510| 30 30 20 4f 4b 22 29 3b | 0d 0a 09 48 54 54 50 48 |00 OK");|...HTTPH|
|00003520| 65 61 64 65 72 28 22 53 | 65 72 76 65 72 3a 20 55 |eader("S|erver: U|
|00003530| 6e 72 65 61 6c 45 6e 67 | 69 6e 65 20 55 57 65 62 |nrealEng|ine UWeb|
|00003540| 20 57 65 62 20 53 65 72 | 76 65 72 20 42 75 69 6c | Web Ser|ver Buil|
|00003550| 64 20 22 24 43 6f 6e 6e | 65 63 74 69 6f 6e 2e 4c |d "$Conn|ection.L|
|00003560| 65 76 65 6c 2e 45 6e 67 | 69 6e 65 56 65 72 73 69 |evel.Eng|ineVersi|
|00003570| 6f 6e 29 3b 0d 0a 09 48 | 54 54 50 48 65 61 64 65 |on);...H|TTPHeade|
|00003580| 72 28 22 43 6f 6e 74 65 | 6e 74 2d 54 79 70 65 3a |r("Conte|nt-Type:|
|00003590| 20 22 24 43 6f 6e 74 65 | 6e 74 54 79 70 65 29 3b | "$Conte|ntType);|
|000035a0| 0d 0a 09 48 54 54 50 48 | 65 61 64 65 72 28 22 22 |...HTTPH|eader(""|
|000035b0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|000035c0| 6e 20 52 65 64 69 72 65 | 63 74 28 73 74 72 69 6e |n Redire|ct(strin|
|000035d0| 67 20 55 52 4c 29 0d 0a | 7b 0d 0a 09 48 54 54 50 |g URL)..|{...HTTP|
|000035e0| 52 65 73 70 6f 6e 73 65 | 28 22 48 54 54 50 2f 31 |Response|("HTTP/1|
|000035f0| 2e 31 20 33 30 32 20 44 | 6f 63 75 6d 65 6e 74 20 |.1 302 D|ocument |
|00003600| 4d 6f 76 65 64 22 29 3b | 0d 0a 09 48 54 54 50 48 |Moved");|...HTTPH|
|00003610| 65 61 64 65 72 28 22 4c | 6f 63 61 74 69 6f 6e 3a |eader("L|ocation:|
|00003620| 20 22 24 55 52 4c 29 3b | 0d 0a 09 53 65 6e 64 54 | "$URL);|...SendT|
|00003630| 65 78 74 28 22 3c 68 65 | 61 64 3e 3c 74 69 74 6c |ext("<he|ad><titl|
|00003640| 65 3e 44 6f 63 75 6d 65 | 6e 74 20 4d 6f 76 65 64 |e>Docume|nt Moved|
|00003650| 3c 2f 74 69 74 6c 65 3e | 3c 2f 68 65 61 64 3e 22 |</title>|</head>"|
|00003660| 29 3b 0d 0a 09 53 65 6e | 64 54 65 78 74 28 22 3c |);...Sen|dText("<|
|00003670| 62 6f 64 79 3e 3c 68 31 | 3e 4f 62 6a 65 63 74 20 |body><h1|>Object |
|00003680| 4d 6f 76 65 64 3c 2f 68 | 31 3e 54 68 69 73 20 64 |Moved</h|1>This d|
|00003690| 6f 63 75 6d 65 6e 74 20 | 6d 61 79 20 62 65 20 66 |ocument |may be f|
|000036a0| 6f 75 6e 64 20 3c 61 20 | 48 52 45 46 3d 5c 22 22 |ound <a |HREF=\""|
|000036b0| 24 55 52 4c 24 22 5c 22 | 3e 68 65 72 65 3c 2f 61 |$URL$"\"|>here</a|
|000036c0| 3e 2e 22 29 3b 0d 0a 7d | 0d 0a 0d 0a 00 00 00 00 |>.");..}|........|
|000036d0| 00 00 00 00 00 00 4d 24 | 63 6c 61 73 73 20 57 65 |......M$|class We|
|000036e0| 62 52 65 71 75 65 73 74 | 20 65 78 70 61 6e 64 73 |bRequest| expands|
|000036f0| 20 4f 62 6a 65 63 74 0d | 0a 09 6e 61 74 69 76 65 | Object.|..native|
|00003700| 0d 0a 09 6e 6f 65 78 70 | 6f 72 74 3b 0d 0a 0d 0a |...noexp|ort;....|
|00003710| 65 6e 75 6d 20 45 52 65 | 71 75 65 73 74 54 79 70 |enum ERe|questTyp|
|00003720| 65 0d 0a 7b 0d 0a 09 52 | 65 71 75 65 73 74 5f 47 |e..{...R|equest_G|
|00003730| 45 54 2c 0d 0a 09 52 65 | 71 75 65 73 74 5f 50 4f |ET,...Re|quest_PO|
|00003740| 53 54 0d 0a 7d 3b 0d 0a | 0d 0a 76 61 72 20 73 74 |ST..};..|..var st|
|00003750| 72 69 6e 67 20 55 52 49 | 3b 0d 0a 76 61 72 20 73 |ring URI|;..var s|
|00003760| 74 72 69 6e 67 20 55 73 | 65 72 6e 61 6d 65 3b 0d |tring Us|ername;.|
|00003770| 0a 76 61 72 20 73 74 72 | 69 6e 67 20 50 61 73 73 |.var str|ing Pass|
|00003780| 77 6f 72 64 3b 0d 0a 76 | 61 72 20 69 6e 74 20 43 |word;..v|ar int C|
|00003790| 6f 6e 74 65 6e 74 4c 65 | 6e 67 74 68 3b 0d 0a 76 |ontentLe|ngth;..v|
|000037a0| 61 72 20 73 74 72 69 6e | 67 20 43 6f 6e 74 65 6e |ar strin|g Conten|
|000037b0| 74 54 79 70 65 3b 0d 0a | 76 61 72 20 45 52 65 71 |tType;..|var EReq|
|000037c0| 75 65 73 74 54 79 70 65 | 20 52 65 71 75 65 73 74 |uestType| Request|
|000037d0| 54 79 70 65 3b 0d 0a 76 | 61 72 20 70 72 69 76 61 |Type;..v|ar priva|
|000037e0| 74 65 20 6e 61 74 69 76 | 65 20 63 6f 6e 73 74 20 |te nativ|e const |
|000037f0| 69 6e 74 20 56 61 72 69 | 61 62 6c 65 4d 61 70 5b |int Vari|ableMap[|
|00003800| 35 5d 3b 09 2f 2f 20 54 | 4d 75 6c 74 69 4d 61 70 |5];.// T|MultiMap|
|00003810| 3c 46 53 74 72 69 6e 67 | 2c 20 46 53 74 72 69 6e |<FString|, FStrin|
|00003820| 67 3e 21 0d 0a 0d 0a 6e | 61 74 69 76 65 20 66 69 |g>!....n|ative fi|
|00003830| 6e 61 6c 20 66 75 6e 63 | 74 69 6f 6e 20 73 74 72 |nal func|tion str|
|00003840| 69 6e 67 20 44 65 63 6f | 64 65 42 61 73 65 36 34 |ing Deco|deBase64|
|00003850| 28 73 74 72 69 6e 67 20 | 45 6e 63 6f 64 65 64 29 |(string |Encoded)|
|00003860| 3b 0d 0a 6e 61 74 69 76 | 65 20 66 69 6e 61 6c 20 |;..nativ|e final |
|00003870| 66 75 6e 63 74 69 6f 6e | 20 41 64 64 56 61 72 69 |function| AddVari|
|00003880| 61 62 6c 65 28 73 74 72 | 69 6e 67 20 56 61 72 69 |able(str|ing Vari|
|00003890| 61 62 6c 65 4e 61 6d 65 | 2c 20 73 74 72 69 6e 67 |ableName|, string|
|000038a0| 20 56 61 6c 75 65 29 3b | 0d 0a 6e 61 74 69 76 65 | Value);|..native|
|000038b0| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|000038c0| 73 74 72 69 6e 67 20 47 | 65 74 56 61 72 69 61 62 |string G|etVariab|
|000038d0| 6c 65 28 73 74 72 69 6e | 67 20 56 61 72 69 61 62 |le(strin|g Variab|
|000038e0| 6c 65 4e 61 6d 65 2c 20 | 6f 70 74 69 6f 6e 61 6c |leName, |optional|
|000038f0| 20 73 74 72 69 6e 67 20 | 44 65 66 61 75 6c 74 56 | string |DefaultV|
|00003900| 61 6c 75 65 29 3b 0d 0a | 6e 61 74 69 76 65 20 66 |alue);..|native f|
|00003910| 69 6e 61 6c 20 66 75 6e | 63 74 69 6f 6e 20 69 6e |inal fun|ction in|
|00003920| 74 20 47 65 74 56 61 72 | 69 61 62 6c 65 43 6f 75 |t GetVar|iableCou|
|00003930| 6e 74 28 73 74 72 69 6e | 67 20 56 61 72 69 61 62 |nt(strin|g Variab|
|00003940| 6c 65 4e 61 6d 65 29 3b | 0d 0a 6e 61 74 69 76 65 |leName);|..native|
|00003950| 20 66 69 6e 61 6c 20 66 | 75 6e 63 74 69 6f 6e 20 | final f|unction |
|00003960| 73 74 72 69 6e 67 20 47 | 65 74 56 61 72 69 61 62 |string G|etVariab|
|00003970| 6c 65 4e 75 6d 62 65 72 | 28 73 74 72 69 6e 67 20 |leNumber|(string |
|00003980| 56 61 72 69 61 62 6c 65 | 4e 61 6d 65 2c 20 69 6e |Variable|Name, in|
|00003990| 74 20 4e 75 6d 62 65 72 | 2c 20 6f 70 74 69 6f 6e |t Number|, option|
|000039a0| 61 6c 20 73 74 72 69 6e | 67 20 44 65 66 61 75 6c |al strin|g Defaul|
|000039b0| 74 56 61 6c 75 65 29 3b | 0d 0a 0d 0a 66 75 6e 63 |tValue);|....func|
|000039c0| 74 69 6f 6e 20 50 72 6f | 63 65 73 73 48 65 61 64 |tion Pro|cessHead|
|000039d0| 65 72 53 74 72 69 6e 67 | 28 73 74 72 69 6e 67 20 |erString|(string |
|000039e0| 53 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |S)..{...|local in|
|000039f0| 74 20 69 3b 0d 0a 0d 0a | 09 69 66 28 4c 65 66 74 |t i;....|.if(Left|
|00003a00| 28 53 2c 20 32 31 29 20 | 7e 3d 20 22 41 75 74 68 |(S, 21) |~= "Auth|
|00003a10| 6f 72 69 7a 61 74 69 6f | 6e 3a 20 42 61 73 69 63 |orizatio|n: Basic|
|00003a20| 20 22 29 0d 0a 09 7b 0d | 0a 09 09 53 20 3d 20 44 | ")...{.|...S = D|
|00003a30| 65 63 6f 64 65 42 61 73 | 65 36 34 28 4d 69 64 28 |ecodeBas|e64(Mid(|
|00003a40| 53 2c 20 32 31 29 29 3b | 0d 0a 09 09 69 20 3d 20 |S, 21));|....i = |
|00003a50| 49 6e 53 74 72 28 53 2c | 20 22 3a 22 29 3b 0d 0a |InStr(S,| ":");..|
|00003a60| 09 09 69 66 28 69 20 21 | 3d 20 2d 31 29 0d 0a 09 |..if(i !|= -1)...|
|00003a70| 09 7b 0d 0a 09 09 09 55 | 73 65 72 6e 61 6d 65 20 |.{.....U|sername |
|00003a80| 3d 20 4c 65 66 74 28 53 | 2c 20 69 29 3b 0d 0a 09 |= Left(S|, i);...|
|00003a90| 09 09 50 61 73 73 77 6f | 72 64 20 3d 20 4d 69 64 |..Passwo|rd = Mid|
|00003aa0| 28 53 2c 20 69 2b 31 29 | 3b 0d 0a 09 09 7d 0d 0a |(S, i+1)|;....}..|
|00003ab0| 09 7d 0d 0a 09 65 6c 73 | 65 0d 0a 09 69 66 28 4c |.}...els|e...if(L|
|00003ac0| 65 66 74 28 53 2c 20 31 | 36 29 20 7e 3d 20 22 43 |eft(S, 1|6) ~= "C|
|00003ad0| 6f 6e 74 65 6e 74 2d 4c | 65 6e 67 74 68 3a 20 22 |ontent-L|ength: "|
|00003ae0| 29 0d 0a 09 09 43 6f 6e | 74 65 6e 74 4c 65 6e 67 |)....Con|tentLeng|
|00003af0| 74 68 20 3d 20 49 6e 74 | 28 4d 69 64 28 53 2c 20 |th = Int|(Mid(S, |
|00003b00| 31 36 29 29 3b 0d 0a 09 | 65 6c 73 65 0d 0a 09 69 |16));...|else...i|
|00003b10| 66 28 4c 65 66 74 28 53 | 2c 20 31 34 29 20 7e 3d |f(Left(S|, 14) ~=|
|00003b20| 20 22 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 3a 20 | "Conten|t-Type: |
|00003b30| 22 29 0d 0a 09 09 43 6f | 6e 74 65 6e 74 54 79 70 |")....Co|ntentTyp|
|00003b40| 65 20 3d 20 4d 69 64 28 | 53 2c 20 31 34 29 3b 0d |e = Mid(|S, 14);.|
|00003b50| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 44 |.}....fu|nction D|
|00003b60| 65 63 6f 64 65 46 6f 72 | 6d 44 61 74 61 28 73 74 |ecodeFor|mData(st|
|00003b70| 72 69 6e 67 20 44 61 74 | 61 29 0d 0a 7b 0d 0a 09 |ring Dat|a)..{...|
|00003b80| 6c 6f 63 61 6c 20 73 74 | 72 69 6e 67 20 54 6f 6b |local st|ring Tok|
|00003b90| 65 6e 5b 32 5d 2c 20 63 | 68 3b 0d 0a 09 6c 6f 63 |en[2], c|h;...loc|
|00003ba0| 61 6c 20 69 6e 74 20 69 | 3b 0d 0a 09 6c 6f 63 61 |al int i|;...loca|
|00003bb0| 6c 20 69 6e 74 20 74 3b | 0d 0a 0d 0a 09 74 20 3d |l int t;|.....t =|
|00003bc0| 20 30 3b 0d 0a 09 66 6f | 72 28 69 3d 30 3b 69 3c | 0;...fo|r(i=0;i<|
|00003bd0| 4c 65 6e 28 44 61 74 61 | 29 3b 69 2b 2b 29 0d 0a |Len(Data|);i++)..|
|00003be0| 09 7b 0d 0a 09 09 63 68 | 20 3d 20 6d 69 64 28 44 |.{....ch| = mid(D|
|00003bf0| 61 74 61 2c 20 69 2c 20 | 31 29 3b 0d 0a 09 09 73 |ata, i, |1);....s|
|00003c00| 77 69 74 63 68 28 63 68 | 29 0d 0a 09 09 7b 0d 0a |witch(ch|)....{..|
|00003c10| 09 09 63 61 73 65 20 22 | 2b 22 3a 0d 0a 09 09 09 |..case "|+":.....|
|00003c20| 54 6f 6b 65 6e 5b 74 5d | 20 3d 20 54 6f 6b 65 6e |Token[t]| = Token|
|00003c30| 5b 74 5d 24 22 20 22 3b | 0d 0a 09 09 09 62 72 65 |[t]$" ";|.....bre|
|00003c40| 61 6b 3b 0d 0a 09 09 63 | 61 73 65 20 22 26 22 3a |ak;....c|ase "&":|
|00003c50| 0d 0a 09 09 63 61 73 65 | 20 22 3f 22 3a 0d 0a 09 |....case| "?":...|
|00003c60| 09 09 69 66 28 54 6f 6b | 65 6e 5b 30 5d 20 21 3d |..if(Tok|en[0] !=|
|00003c70| 20 22 22 29 0d 0a 09 09 | 09 09 41 64 64 56 61 72 | "")....|..AddVar|
|00003c80| 69 61 62 6c 65 28 54 6f | 6b 65 6e 5b 30 5d 2c 20 |iable(To|ken[0], |
|00003c90| 54 6f 6b 65 6e 5b 31 5d | 29 3b 09 09 09 0d 0a 09 |Token[1]|);......|
|00003ca0| 09 09 54 6f 6b 65 6e 5b | 30 5d 20 3d 20 22 22 3b |..Token[|0] = "";|
|00003cb0| 0d 0a 09 09 09 54 6f 6b | 65 6e 5b 31 5d 20 3d 20 |.....Tok|en[1] = |
|00003cc0| 22 22 3b 0d 0a 09 09 09 | 74 20 3d 20 30 3b 0d 0a |"";.....|t = 0;..|
|00003cd0| 09 09 09 62 72 65 61 6b | 3b 0d 0a 09 09 63 61 73 |...break|;....cas|
|00003ce0| 65 20 22 3d 22 3a 0d 0a | 09 09 09 69 66 28 74 20 |e "=":..|...if(t |
|00003cf0| 3d 3d 20 30 29 0d 0a 09 | 09 09 09 74 20 3d 20 31 |== 0)...|...t = 1|
|00003d00| 3b 0d 0a 09 09 09 65 6c | 73 65 0d 0a 09 09 09 09 |;.....el|se......|
|00003d10| 54 6f 6b 65 6e 5b 74 5d | 20 3d 20 54 6f 6b 65 6e |Token[t]| = Token|
|00003d20| 5b 74 5d 24 22 3d 22 3b | 0d 0a 09 09 09 62 72 65 |[t]$"=";|.....bre|
|00003d30| 61 6b 3b 0d 0a 09 09 63 | 61 73 65 20 22 25 22 3a |ak;....c|ase "%":|
|00003d40| 0d 0a 09 09 09 54 6f 6b | 65 6e 5b 74 5d 20 3d 20 |.....Tok|en[t] = |
|00003d50| 54 6f 6b 65 6e 5b 74 5d | 24 43 68 72 28 31 36 20 |Token[t]|$Chr(16 |
|00003d60| 2a 20 47 65 74 48 65 78 | 44 69 67 69 74 28 6d 69 |* GetHex|Digit(mi|
|00003d70| 64 28 44 61 74 61 2c 20 | 2b 2b 69 2c 20 31 29 29 |d(Data, |++i, 1))|
|00003d80| 20 2b 20 47 65 74 48 65 | 78 44 69 67 69 74 28 6d | + GetHe|xDigit(m|
|00003d90| 69 64 28 44 61 74 61 2c | 20 2b 2b 69 2c 20 31 29 |id(Data,| ++i, 1)|
|00003da0| 29 29 3b 0d 0a 09 09 09 | 62 72 65 61 6b 3b 0d 0a |));.....|break;..|
|00003db0| 09 09 64 65 66 61 75 6c | 74 3a 0d 0a 09 09 09 54 |..defaul|t:.....T|
|00003dc0| 6f 6b 65 6e 5b 74 5d 20 | 3d 20 54 6f 6b 65 6e 5b |oken[t] |= Token[|
|00003dd0| 74 5d 24 63 68 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |t]$ch;..|..}...}.|
|00003de0| 0a 0d 0a 09 69 66 28 54 | 6f 6b 65 6e 5b 30 5d 20 |....if(T|oken[0] |
|00003df0| 21 3d 20 22 22 29 0d 0a | 09 09 41 64 64 56 61 72 |!= "")..|..AddVar|
|00003e00| 69 61 62 6c 65 28 54 6f | 6b 65 6e 5b 30 5d 2c 20 |iable(To|ken[0], |
|00003e10| 54 6f 6b 65 6e 5b 31 5d | 29 3b 0d 0a 7d 0d 0a 0d |Token[1]|);..}...|
|00003e20| 0a 66 75 6e 63 74 69 6f | 6e 20 69 6e 74 20 47 65 |.functio|n int Ge|
|00003e30| 74 48 65 78 44 69 67 69 | 74 28 73 74 72 69 6e 67 |tHexDigi|t(string|
|00003e40| 20 44 29 0d 0a 7b 0d 0a | 09 73 77 69 74 63 68 28 | D)..{..|.switch(|
|00003e50| 63 61 70 73 28 44 29 29 | 0d 0a 09 7b 0d 0a 09 63 |caps(D))|...{...c|
|00003e60| 61 73 65 20 22 30 22 3a | 20 72 65 74 75 72 6e 20 |ase "0":| return |
|00003e70| 30 3b 0d 0a 09 63 61 73 | 65 20 22 31 22 3a 20 72 |0;...cas|e "1": r|
|00003e80| 65 74 75 72 6e 20 31 3b | 0d 0a 09 63 61 73 65 20 |eturn 1;|...case |
|00003e90| 22 32 22 3a 20 72 65 74 | 75 72 6e 20 32 3b 0d 0a |"2": ret|urn 2;..|
|00003ea0| 09 63 61 73 65 20 22 33 | 22 3a 20 72 65 74 75 72 |.case "3|": retur|
|00003eb0| 6e 20 33 3b 0d 0a 09 63 | 61 73 65 20 22 34 22 3a |n 3;...c|ase "4":|
|00003ec0| 20 72 65 74 75 72 6e 20 | 34 3b 0d 0a 09 63 61 73 | return |4;...cas|
|00003ed0| 65 20 22 35 22 3a 20 72 | 65 74 75 72 6e 20 35 3b |e "5": r|eturn 5;|
|00003ee0| 20 0d 0a 09 63 61 73 65 | 20 22 36 22 3a 20 72 65 | ...case| "6": re|
|00003ef0| 74 75 72 6e 20 36 3b 20 | 0d 0a 09 63 61 73 65 20 |turn 6; |...case |
|00003f00| 22 37 22 3a 20 72 65 74 | 75 72 6e 20 37 3b 20 0d |"7": ret|urn 7; .|
|00003f10| 0a 09 63 61 73 65 20 22 | 38 22 3a 20 72 65 74 75 |..case "|8": retu|
|00003f20| 72 6e 20 38 3b 20 0d 0a | 09 63 61 73 65 20 22 39 |rn 8; ..|.case "9|
|00003f30| 22 3a 20 72 65 74 75 72 | 6e 20 39 3b 20 0d 0a 09 |": retur|n 9; ...|
|00003f40| 63 61 73 65 20 22 41 22 | 3a 20 72 65 74 75 72 6e |case "A"|: return|
|00003f50| 20 31 30 3b 20 0d 0a 09 | 63 61 73 65 20 22 42 22 | 10; ...|case "B"|
|00003f60| 3a 20 72 65 74 75 72 6e | 20 31 31 3b 20 0d 0a 09 |: return| 11; ...|
|00003f70| 63 61 73 65 20 22 43 22 | 3a 20 72 65 74 75 72 6e |case "C"|: return|
|00003f80| 20 31 32 3b 20 0d 0a 09 | 63 61 73 65 20 22 44 22 | 12; ...|case "D"|
|00003f90| 3a 20 72 65 74 75 72 6e | 20 31 33 3b 20 0d 0a 09 |: return| 13; ...|
|00003fa0| 63 61 73 65 20 22 45 22 | 3a 20 72 65 74 75 72 6e |case "E"|: return|
|00003fb0| 20 31 34 3b 20 0d 0a 09 | 63 61 73 65 20 22 46 22 | 14; ...|case "F"|
|00003fc0| 3a 20 72 65 74 75 72 6e | 20 31 35 3b 20 0d 0a 09 |: return| 15; ...|
|00003fd0| 7d 0d 0a 0d 0a 09 72 65 | 74 75 72 6e 20 30 3b 0d |}.....re|turn 0;.|
|00003fe0| 0a 7d 0d 0a 00 00 00 4f | 01 00 3d 01 13 00 00 00 |.}.....O|..=.....|
|00003ff0| 54 02 00 00 5b 00 00 00 | 07 19 00 81 2d 01 2f 16 |T...[...|....-./.|
|00004000| 1b 09 16 14 2d 01 2f 27 | 07 39 00 2d 00 53 01 19 |....-./'|.9.-.S..|
|00004010| 01 17 0b 00 04 1b 01 00 | 3d 16 06 59 00 19 01 17 |........|=..Y....|
|00004020| 17 00 04 1b 01 70 70 00 | 3d ec 2c 0d 16 16 ec 2c |.....pp.|=.,....,|
|00004030| 0a 16 16 16 04 0b 00 00 | 00 02 08 00 00 00 00 2a |........|.......*|
|00004040| 00 00 16 08 00 00 00 95 | 00 00 00 02 00 00 00 04 |........|........|
|00004050| 0b 00 00 00 00 00 00 00 | 00 00 4d 02 00 00 02 09 |........|..M.....|
|00004060| 00 00 00 aa 00 00 00 02 | 00 00 00 04 0b 00 00 00 |........|........|
|00004070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 59 3f 63 |........|.....Y?c|
|00004080| 6c 61 73 73 20 57 65 62 | 43 6f 6e 6e 65 63 74 69 |lass Web|Connecti|
|00004090| 6f 6e 20 65 78 70 61 6e | 64 73 20 54 63 70 4c 69 |on expan|ds TcpLi|
|000040a0| 6e 6b 3b 0d 0a 0d 0a 76 | 61 72 20 57 65 62 53 65 |nk;....v|ar WebSe|
|000040b0| 72 76 65 72 20 57 65 62 | 53 65 72 76 65 72 3b 0d |rver Web|Server;.|
|000040c0| 0a 76 61 72 20 73 74 72 | 69 6e 67 20 52 65 63 65 |.var str|ing Rece|
|000040d0| 69 76 65 64 44 61 74 61 | 3b 0d 0a 0d 0a 76 61 72 |ivedData|;....var|
|000040e0| 20 57 65 62 52 65 71 75 | 65 73 74 20 52 65 71 75 | WebRequ|est Requ|
|000040f0| 65 73 74 3b 0d 0a 76 61 | 72 20 57 65 62 52 65 73 |est;..va|r WebRes|
|00004100| 70 6f 6e 73 65 20 52 65 | 73 70 6f 6e 73 65 3b 0d |ponse Re|sponse;.|
|00004110| 0a 76 61 72 20 57 65 62 | 41 70 70 6c 69 63 61 74 |.var Web|Applicat|
|00004120| 69 6f 6e 20 41 70 70 6c | 69 63 61 74 69 6f 6e 3b |ion Appl|ication;|
|00004130| 0d 0a 0d 0a 76 61 72 20 | 69 6e 74 20 52 61 77 42 |....var |int RawB|
|00004140| 79 74 65 73 45 78 70 65 | 63 74 69 6e 67 3b 0d 0a |ytesExpe|cting;..|
|00004150| 0d 0a 65 76 65 6e 74 20 | 41 63 63 65 70 74 65 64 |..event |Accepted|
|00004160| 28 29 0d 0a 7b 0d 0a 09 | 57 65 62 53 65 72 76 65 |()..{...|WebServe|
|00004170| 72 20 3d 20 57 65 62 53 | 65 72 76 65 72 28 4f 77 |r = WebS|erver(Ow|
|00004180| 6e 65 72 29 3b 0d 0a 09 | 53 65 74 54 69 6d 65 72 |ner);...|SetTimer|
|00004190| 28 33 30 2c 20 46 61 6c | 73 65 29 3b 0d 0a 7d 0d |(30, Fal|se);..}.|
|000041a0| 0a 0d 0a 65 76 65 6e 74 | 20 43 6c 6f 73 65 64 28 |...event| Closed(|
|000041b0| 29 0d 0a 7b 0d 0a 09 44 | 65 73 74 72 6f 79 28 29 |)..{...D|estroy()|
|000041c0| 3b 0d 0a 7d 0d 0a 0d 0a | 65 76 65 6e 74 20 54 69 |;..}....|event Ti|
|000041d0| 6d 65 72 28 29 0d 0a 7b | 0d 0a 09 43 6c 6f 73 65 |mer()..{|...Close|
|000041e0| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 65 76 65 6e 74 20 |();..}..|..event |
|000041f0| 52 65 63 65 69 76 65 64 | 54 65 78 74 28 20 73 74 |Received|Text( st|
|00004200| 72 69 6e 67 20 54 65 78 | 74 20 29 0d 0a 7b 0d 0a |ring Tex|t )..{..|
|00004210| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 3b 0d 0a 09 |.local i|nt i;...|
|00004220| 6c 6f 63 61 6c 20 73 74 | 72 69 6e 67 20 53 3b 0d |local st|ring S;.|
|00004230| 0a 0d 0a 09 52 65 63 65 | 69 76 65 64 44 61 74 61 |....Rece|ivedData|
|00004240| 20 3d 20 52 65 63 65 69 | 76 65 64 44 61 74 61 20 | = Recei|vedData |
|00004250| 24 20 54 65 78 74 3b 0d | 0a 09 69 66 28 52 61 77 |$ Text;.|..if(Raw|
|00004260| 42 79 74 65 73 45 78 70 | 65 63 74 69 6e 67 20 3e |BytesExp|ecting >|
|00004270| 20 30 29 0d 0a 09 7b 0d | 0a 09 09 52 61 77 42 79 | 0)...{.|...RawBy|
|00004280| 74 65 73 45 78 70 65 63 | 74 69 6e 67 20 2d 3d 20 |tesExpec|ting -= |
|00004290| 4c 65 6e 28 54 65 78 74 | 29 3b 0d 0a 09 09 43 68 |Len(Text|);....Ch|
|000042a0| 65 63 6b 52 61 77 42 79 | 74 65 73 28 29 3b 0d 0a |eckRawBy|tes();..|
|000042b0| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 7d 0d |....retu|rn;...}.|
|000042c0| 0a 0d 0a 09 2f 2f 20 72 | 65 6d 6f 76 65 20 61 20 |....// r|emove a |
|000042d0| 4c 46 20 77 68 69 63 68 | 20 61 72 72 69 76 65 64 |LF which| arrived|
|000042e0| 20 69 6e 20 61 20 6e 65 | 77 20 70 61 63 6b 65 74 | in a ne|w packet|
|000042f0| 0d 0a 09 2f 2f 20 61 6e | 64 20 74 68 75 73 20 64 |...// an|d thus d|
|00004300| 69 64 6e 27 74 20 67 65 | 74 20 63 6c 65 61 6e 65 |idn't ge|t cleane|
|00004310| 64 20 75 70 20 62 79 20 | 74 68 65 20 63 6f 64 65 |d up by |the code|
|00004320| 20 62 65 6c 6f 77 0d 0a | 09 69 66 28 4c 65 66 74 | below..|.if(Left|
|00004330| 28 52 65 63 65 69 76 65 | 64 44 61 74 61 2c 20 31 |(Receive|dData, 1|
|00004340| 29 20 3d 3d 20 43 68 72 | 28 31 30 29 29 0d 0a 09 |) == Chr|(10))...|
|00004350| 09 52 65 63 65 69 76 65 | 64 44 61 74 61 20 3d 20 |.Receive|dData = |
|00004360| 4d 69 64 28 52 65 63 65 | 69 76 65 64 44 61 74 61 |Mid(Rece|ivedData|
|00004370| 2c 20 31 29 3b 0d 0a 09 | 69 20 3d 20 49 6e 53 74 |, 1);...|i = InSt|
|00004380| 72 28 52 65 63 65 69 76 | 65 64 44 61 74 61 2c 20 |r(Receiv|edData, |
|00004390| 43 68 72 28 31 33 29 29 | 3b 0d 0a 09 77 68 69 6c |Chr(13))|;...whil|
|000043a0| 65 28 69 20 21 3d 20 2d | 31 29 0d 0a 09 7b 0d 0a |e(i != -|1)...{..|
|000043b0| 09 09 53 20 3d 20 4c 65 | 66 74 28 52 65 63 65 69 |..S = Le|ft(Recei|
|000043c0| 76 65 64 44 61 74 61 2c | 20 69 29 3b 0d 0a 09 09 |vedData,| i);....|
|000043d0| 69 2b 2b 3b 0d 0a 09 09 | 2f 2f 20 63 68 65 63 6b |i++;....|// check|
|000043e0| 20 66 6f 72 20 61 6e 79 | 20 4c 46 20 66 6f 6c 6c | for any| LF foll|
|000043f0| 6f 77 69 6e 67 20 74 68 | 65 20 43 52 2e 0d 0a 09 |owing th|e CR....|
|00004400| 09 69 66 28 4d 69 64 28 | 52 65 63 65 69 76 65 64 |.if(Mid(|Received|
|00004410| 44 61 74 61 2c 20 69 2c | 20 31 29 20 3d 3d 20 43 |Data, i,| 1) == C|
|00004420| 68 72 28 31 30 29 29 0d | 0a 09 09 09 69 2b 2b 3b |hr(10)).|....i++;|
|00004430| 0d 0a 0d 0a 09 09 52 65 | 63 65 69 76 65 64 44 61 |......Re|ceivedDa|
|00004440| 74 61 20 3d 20 4d 69 64 | 28 52 65 63 65 69 76 65 |ta = Mid|(Receive|
|00004450| 64 44 61 74 61 2c 20 69 | 29 3b 0d 0a 0d 0a 09 09 |dData, i|);......|
|00004460| 52 65 63 65 69 76 65 64 | 4c 69 6e 65 28 53 29 3b |Received|Line(S);|
|00004470| 0d 0a 09 09 0d 0a 09 09 | 69 66 28 4c 69 6e 6b 53 |........|if(LinkS|
|00004480| 74 61 74 65 20 21 3d 20 | 53 54 41 54 45 5f 43 6f |tate != |STATE_Co|
|00004490| 6e 6e 65 63 74 65 64 29 | 0d 0a 09 09 09 72 65 74 |nnected)|.....ret|
|000044a0| 75 72 6e 3b 0d 0a 09 09 | 69 66 28 52 61 77 42 79 |urn;....|if(RawBy|
|000044b0| 74 65 73 45 78 70 65 63 | 74 69 6e 67 20 3e 20 30 |tesExpec|ting > 0|
|000044c0| 29 0d 0a 09 09 7b 09 0d | 0a 09 09 09 43 68 65 63 |)....{..|....Chec|
|000044d0| 6b 52 61 77 42 79 74 65 | 73 28 29 3b 0d 0a 09 09 |kRawByte|s();....|
|000044e0| 09 72 65 74 75 72 6e 3b | 0d 0a 09 09 7d 0d 0a 0d |.return;|....}...|
|000044f0| 0a 09 09 69 20 3d 20 49 | 6e 53 74 72 28 52 65 63 |...i = I|nStr(Rec|
|00004500| 65 69 76 65 64 44 61 74 | 61 2c 20 43 68 72 28 31 |eivedDat|a, Chr(1|
|00004510| 33 29 29 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 66 |3));...}|..}....f|
|00004520| 75 6e 63 74 69 6f 6e 20 | 52 65 63 65 69 76 65 64 |unction |Received|
|00004530| 4c 69 6e 65 28 73 74 72 | 69 6e 67 20 53 29 0d 0a |Line(str|ing S)..|
|00004540| 7b 0d 0a 09 69 66 28 4c | 65 66 74 28 53 2c 20 34 |{...if(L|eft(S, 4|
|00004550| 29 20 7e 3d 20 22 47 45 | 54 20 22 29 0d 0a 09 09 |) ~= "GE|T ")....|
|00004560| 50 72 6f 63 65 73 73 47 | 65 74 28 53 29 3b 0d 0a |ProcessG|et(S);..|
|00004570| 09 65 6c 73 65 09 0d 0a | 09 69 66 28 4c 65 66 74 |.else...|.if(Left|
|00004580| 28 53 2c 20 35 29 20 7e | 3d 20 22 50 4f 53 54 20 |(S, 5) ~|= "POST |
|00004590| 22 29 0d 0a 09 09 50 72 | 6f 63 65 73 73 50 6f 73 |")....Pr|ocessPos|
|000045a0| 74 28 53 29 3b 0d 0a 09 | 65 6c 73 65 0d 0a 09 69 |t(S);...|else...i|
|000045b0| 66 28 53 20 3d 3d 20 22 | 22 29 0d 0a 09 09 45 6e |f(S == "|")....En|
|000045c0| 64 4f 66 48 65 61 64 65 | 72 73 28 29 3b 0d 0a 09 |dOfHeade|rs();...|
|000045d0| 65 6c 73 65 0d 0a 09 69 | 66 28 52 65 71 75 65 73 |else...i|f(Reques|
|000045e0| 74 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 7b 0d 0a |t != Non|e)...{..|
|000045f0| 09 09 52 65 71 75 65 73 | 74 2e 50 72 6f 63 65 73 |..Reques|t.Proces|
|00004600| 73 48 65 61 64 65 72 53 | 74 72 69 6e 67 28 53 29 |sHeaderS|tring(S)|
|00004610| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |;...}..}|....func|
|00004620| 74 69 6f 6e 20 50 72 6f | 63 65 73 73 47 65 74 28 |tion Pro|cessGet(|
|00004630| 73 74 72 69 6e 67 20 53 | 29 0d 0a 7b 0d 0a 09 6c |string S|)..{...l|
|00004640| 6f 63 61 6c 20 69 6e 74 | 20 69 3b 0d 0a 0d 0a 09 |ocal int| i;.....|
|00004650| 69 66 28 52 65 71 75 65 | 73 74 20 3d 3d 20 4e 6f |if(Reque|st == No|
|00004660| 6e 65 29 0d 0a 09 09 43 | 72 65 61 74 65 52 65 73 |ne)....C|reateRes|
|00004670| 70 6f 6e 73 65 4f 62 6a | 65 63 74 28 29 3b 0d 0a |ponseObj|ect();..|
|00004680| 0d 0a 09 52 65 71 75 65 | 73 74 2e 52 65 71 75 65 |...Reque|st.Reque|
|00004690| 73 74 54 79 70 65 20 3d | 20 52 65 71 75 65 73 74 |stType =| Request|
|000046a0| 5f 47 45 54 3b 0d 0a 09 | 53 20 3d 20 4d 69 64 28 |_GET;...|S = Mid(|
|000046b0| 53 2c 20 34 29 3b 0d 0a | 09 77 68 69 6c 65 28 4c |S, 4);..|.while(L|
|000046c0| 65 66 74 28 53 2c 20 31 | 29 20 3d 3d 20 22 20 22 |eft(S, 1|) == " "|
|000046d0| 29 0d 0a 09 09 53 20 3d | 20 4d 69 64 28 53 2c 20 |)....S =| Mid(S, |
|000046e0| 31 29 3b 0d 0a 0d 0a 09 | 69 20 3d 20 49 6e 53 74 |1);.....|i = InSt|
|000046f0| 72 28 53 2c 20 22 20 22 | 29 3b 0d 0a 0d 0a 09 69 |r(S, " "|);.....i|
|00004700| 66 28 69 20 21 3d 20 2d | 31 29 0d 0a 09 09 53 20 |f(i != -|1)....S |
|00004710| 3d 20 4c 65 66 74 28 53 | 2c 20 69 29 3b 0d 0a 0d |= Left(S|, i);...|
|00004720| 0a 09 69 20 3d 20 49 6e | 53 74 72 28 53 2c 20 22 |..i = In|Str(S, "|
|00004730| 3f 22 29 3b 0d 0a 09 69 | 66 28 69 20 21 3d 20 2d |?");...i|f(i != -|
|00004740| 31 29 0d 0a 09 7b 0d 0a | 09 09 52 65 71 75 65 73 |1)...{..|..Reques|
|00004750| 74 2e 44 65 63 6f 64 65 | 46 6f 72 6d 44 61 74 61 |t.Decode|FormData|
|00004760| 28 4d 69 64 28 53 2c 20 | 69 2b 31 29 29 3b 0d 0a |(Mid(S, |i+1));..|
|00004770| 09 09 53 20 3d 20 4c 65 | 66 74 28 53 2c 20 69 29 |..S = Le|ft(S, i)|
|00004780| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 41 70 70 6c 69 63 |;...}...|..Applic|
|00004790| 61 74 69 6f 6e 20 3d 20 | 57 65 62 53 65 72 76 65 |ation = |WebServe|
|000047a0| 72 2e 47 65 74 41 70 70 | 6c 69 63 61 74 69 6f 6e |r.GetApp|lication|
|000047b0| 28 53 2c 20 52 65 71 75 | 65 73 74 2e 55 52 49 29 |(S, Requ|est.URI)|
|000047c0| 3b 0d 0a 09 69 66 28 41 | 70 70 6c 69 63 61 74 69 |;...if(A|pplicati|
|000047d0| 6f 6e 20 21 3d 20 4e 6f | 6e 65 20 26 26 20 52 65 |on != No|ne && Re|
|000047e0| 71 75 65 73 74 2e 55 52 | 49 20 3d 3d 20 22 22 29 |quest.UR|I == "")|
|000047f0| 0d 0a 09 7b 0d 0a 09 09 | 52 65 73 70 6f 6e 73 65 |...{....|Response|
|00004800| 2e 52 65 64 69 72 65 63 | 74 28 57 65 62 53 65 72 |.Redirec|t(WebSer|
|00004810| 76 65 72 2e 53 65 72 76 | 65 72 55 52 4c 24 53 24 |ver.Serv|erURL$S$|
|00004820| 22 2f 22 29 3b 0d 0a 09 | 09 43 6c 65 61 6e 75 70 |"/");...|.Cleanup|
|00004830| 28 29 3b 0d 0a 09 7d 0d | 0a 09 65 6c 73 65 0d 0a |();...}.|..else..|
|00004840| 09 69 66 28 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |.if(Appl|ication |
|00004850| 3d 3d 20 4e 6f 6e 65 20 | 26 26 20 57 65 62 73 65 |== None |&& Webse|
|00004860| 72 76 65 72 2e 44 65 66 | 61 75 6c 74 41 70 70 6c |rver.Def|aultAppl|
|00004870| 69 63 61 74 69 6f 6e 20 | 21 3d 20 2d 31 29 0d 0a |ication |!= -1)..|
|00004880| 09 7b 0d 0a 09 09 52 65 | 73 70 6f 6e 73 65 2e 52 |.{....Re|sponse.R|
|00004890| 65 64 69 72 65 63 74 28 | 57 65 62 53 65 72 76 65 |edirect(|WebServe|
|000048a0| 72 2e 53 65 72 76 65 72 | 55 52 4c 24 57 65 62 73 |r.Server|URL$Webs|
|000048b0| 65 72 76 65 72 2e 41 70 | 70 6c 69 63 61 74 69 6f |erver.Ap|plicatio|
|000048c0| 6e 50 61 74 68 73 5b 57 | 65 62 73 65 72 76 65 72 |nPaths[W|ebserver|
|000048d0| 2e 44 65 66 61 75 6c 74 | 41 70 70 6c 69 63 61 74 |.Default|Applicat|
|000048e0| 69 6f 6e 5d 24 22 2f 22 | 29 3b 0d 0a 09 09 43 6c |ion]$"/"|);....Cl|
|000048f0| 65 61 6e 75 70 28 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |eanup();|...}..}.|
|00004900| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 50 72 6f 63 |...funct|ion Proc|
|00004910| 65 73 73 50 6f 73 74 28 | 73 74 72 69 6e 67 20 53 |essPost(|string S|
|00004920| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00004930| 20 69 3b 0d 0a 0d 0a 09 | 69 66 28 52 65 71 75 65 | i;.....|if(Reque|
|00004940| 73 74 20 3d 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 43 |st == No|ne)....C|
|00004950| 72 65 61 74 65 52 65 73 | 70 6f 6e 73 65 4f 62 6a |reateRes|ponseObj|
|00004960| 65 63 74 28 29 3b 0d 0a | 0d 0a 09 52 65 71 75 65 |ect();..|...Reque|
|00004970| 73 74 2e 52 65 71 75 65 | 73 74 54 79 70 65 20 3d |st.Reque|stType =|
|00004980| 20 52 65 71 75 65 73 74 | 5f 50 4f 53 54 3b 0d 0a | Request|_POST;..|
|00004990| 0d 0a 09 53 20 3d 20 4d | 69 64 28 53 2c 20 35 29 |...S = M|id(S, 5)|
|000049a0| 3b 0d 0a 09 77 68 69 6c | 65 28 4c 65 66 74 28 53 |;...whil|e(Left(S|
|000049b0| 2c 20 31 29 20 3d 3d 20 | 22 20 22 29 0d 0a 09 09 |, 1) == |" ")....|
|000049c0| 53 20 3d 20 4d 69 64 28 | 53 2c 20 31 29 3b 0d 0a |S = Mid(|S, 1);..|
|000049d0| 0d 0a 09 69 20 3d 20 49 | 6e 53 74 72 28 53 2c 20 |...i = I|nStr(S, |
|000049e0| 22 20 22 29 3b 0d 0a 0d | 0a 09 69 66 28 69 20 21 |" ");...|..if(i !|
|000049f0| 3d 20 2d 31 29 0d 0a 09 | 09 53 20 3d 20 4c 65 66 |= -1)...|.S = Lef|
|00004a00| 74 28 53 2c 20 69 29 3b | 0d 0a 0d 0a 09 69 20 3d |t(S, i);|.....i =|
|00004a10| 20 49 6e 53 74 72 28 53 | 2c 20 22 3f 22 29 3b 0d | InStr(S|, "?");.|
|00004a20| 0a 09 69 66 28 69 20 21 | 3d 20 2d 31 29 0d 0a 09 |..if(i !|= -1)...|
|00004a30| 7b 0d 0a 09 09 52 65 71 | 75 65 73 74 2e 44 65 63 |{....Req|uest.Dec|
|00004a40| 6f 64 65 46 6f 72 6d 44 | 61 74 61 28 4d 69 64 28 |odeFormD|ata(Mid(|
|00004a50| 53 2c 20 69 2b 31 29 29 | 3b 0d 0a 09 09 53 20 3d |S, i+1))|;....S =|
|00004a60| 20 4c 65 66 74 28 53 2c | 20 69 29 3b 0d 0a 09 7d | Left(S,| i);...}|
|00004a70| 0d 0a 09 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 3d |...Appli|cation =|
|00004a80| 20 57 65 62 53 65 72 76 | 65 72 2e 47 65 74 41 70 | WebServ|er.GetAp|
|00004a90| 70 6c 69 63 61 74 69 6f | 6e 28 53 2c 20 52 65 71 |plicatio|n(S, Req|
|00004aa0| 75 65 73 74 2e 55 52 49 | 29 3b 0d 0a 09 69 66 28 |uest.URI|);...if(|
|00004ab0| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 21 3d 20 4e |Applicat|ion != N|
|00004ac0| 6f 6e 65 20 26 26 20 52 | 65 71 75 65 73 74 2e 55 |one && R|equest.U|
|00004ad0| 52 49 20 3d 3d 20 22 22 | 29 0d 0a 09 7b 0d 0a 09 |RI == ""|)...{...|
|00004ae0| 09 52 65 73 70 6f 6e 73 | 65 2e 52 65 64 69 72 65 |.Respons|e.Redire|
|00004af0| 63 74 28 57 65 62 53 65 | 72 76 65 72 2e 53 65 72 |ct(WebSe|rver.Ser|
|00004b00| 76 65 72 55 52 4c 24 53 | 24 22 2f 22 29 3b 0d 0a |verURL$S|$"/");..|
|00004b10| 09 09 43 6c 65 61 6e 75 | 70 28 29 3b 0d 0a 09 7d |..Cleanu|p();...}|
|00004b20| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00004b30| 43 72 65 61 74 65 52 65 | 73 70 6f 6e 73 65 4f 62 |CreateRe|sponseOb|
|00004b40| 6a 65 63 74 28 29 0d 0a | 7b 0d 0a 09 52 65 71 75 |ject()..|{...Requ|
|00004b50| 65 73 74 20 3d 20 6e 65 | 77 28 4e 6f 6e 65 29 20 |est = ne|w(None) |
|00004b60| 63 6c 61 73 73 27 57 65 | 62 52 65 71 75 65 73 74 |class'We|bRequest|
|00004b70| 27 3b 0d 0a 0d 0a 09 52 | 65 73 70 6f 6e 73 65 20 |';.....R|esponse |
|00004b80| 3d 20 6e 65 77 28 4e 6f | 6e 65 29 20 63 6c 61 73 |= new(No|ne) clas|
|00004b90| 73 27 57 65 62 52 65 73 | 70 6f 6e 73 65 27 3b 0d |s'WebRes|ponse';.|
|00004ba0| 0a 09 52 65 73 70 6f 6e | 73 65 2e 43 6f 6e 6e 65 |..Respon|se.Conne|
|00004bb0| 63 74 69 6f 6e 20 3d 20 | 53 65 6c 66 3b 0d 0a 7d |ction = |Self;..}|
|00004bc0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 45 6e 64 |....func|tion End|
|00004bd0| 4f 66 48 65 61 64 65 72 | 73 28 29 0d 0a 7b 0d 0a |OfHeader|s()..{..|
|00004be0| 09 69 66 28 52 65 73 70 | 6f 6e 73 65 20 3d 3d 20 |.if(Resp|onse == |
|00004bf0| 4e 6f 6e 65 29 0d 0a 09 | 7b 0d 0a 09 09 43 72 65 |None)...|{....Cre|
|00004c00| 61 74 65 52 65 73 70 6f | 6e 73 65 4f 62 6a 65 63 |ateRespo|nseObjec|
|00004c10| 74 28 29 3b 0d 0a 09 09 | 52 65 73 70 6f 6e 73 65 |t();....|Response|
|00004c20| 2e 48 54 54 50 45 72 72 | 6f 72 28 34 30 30 29 3b |.HTTPErr|or(400);|
|00004c30| 20 2f 2f 20 42 61 64 20 | 52 65 71 75 65 73 74 0d | // Bad |Request.|
|00004c40| 0a 09 09 43 6c 65 61 6e | 75 70 28 29 3b 0d 0a 09 |...Clean|up();...|
|00004c50| 09 72 65 74 75 72 6e 3b | 0d 0a 09 7d 0d 0a 0d 0a |.return;|...}....|
|00004c60| 09 69 66 28 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |.if(Appl|ication |
|00004c70| 3d 3d 20 4e 6f 6e 65 29 | 0d 0a 09 7b 0d 0a 09 09 |== None)|...{....|
|00004c80| 52 65 73 70 6f 6e 73 65 | 2e 48 54 54 50 45 72 72 |Response|.HTTPErr|
|00004c90| 6f 72 28 34 30 34 29 3b | 20 2f 2f 20 46 4e 46 0d |or(404);| // FNF.|
|00004ca0| 0a 09 09 43 6c 65 61 6e | 75 70 28 29 3b 0d 0a 09 |...Clean|up();...|
|00004cb0| 09 72 65 74 75 72 6e 3b | 0d 0a 09 7d 0d 0a 0d 0a |.return;|...}....|
|00004cc0| 09 69 66 28 52 65 71 75 | 65 73 74 2e 43 6f 6e 74 |.if(Requ|est.Cont|
|00004cd0| 65 6e 74 4c 65 6e 67 74 | 68 20 21 3d 20 30 20 26 |entLengt|h != 0 &|
|00004ce0| 26 20 52 65 71 75 65 73 | 74 2e 52 65 71 75 65 73 |& Reques|t.Reques|
|00004cf0| 74 54 79 70 65 20 3d 3d | 20 52 65 71 75 65 73 74 |tType ==| Request|
|00004d00| 5f 50 4f 53 54 29 0d 0a | 09 7b 0d 0a 09 09 52 61 |_POST)..|.{....Ra|
|00004d10| 77 42 79 74 65 73 45 78 | 70 65 63 74 69 6e 67 20 |wBytesEx|pecting |
|00004d20| 3d 20 52 65 71 75 65 73 | 74 2e 43 6f 6e 74 65 6e |= Reques|t.Conten|
|00004d30| 74 4c 65 6e 67 74 68 3b | 0d 0a 09 09 52 61 77 42 |tLength;|....RawB|
|00004d40| 79 74 65 73 45 78 70 65 | 63 74 69 6e 67 20 2d 3d |ytesExpe|cting -=|
|00004d50| 20 4c 65 6e 28 52 65 63 | 65 69 76 65 64 44 61 74 | Len(Rec|eivedDat|
|00004d60| 61 29 3b 0d 0a 09 09 43 | 68 65 63 6b 52 61 77 42 |a);....C|heckRawB|
|00004d70| 79 74 65 73 28 29 3b 0d | 0a 09 7d 0d 0a 09 65 6c |ytes();.|..}...el|
|00004d80| 73 65 0d 0a 09 7b 0d 0a | 09 09 41 70 70 6c 69 63 |se...{..|..Applic|
|00004d90| 61 74 69 6f 6e 2e 51 75 | 65 72 79 28 52 65 71 75 |ation.Qu|ery(Requ|
|00004da0| 65 73 74 2c 20 52 65 73 | 70 6f 6e 73 65 29 3b 0d |est, Res|ponse);.|
|00004db0| 0a 09 09 43 6c 65 61 6e | 75 70 28 29 3b 0d 0a 09 |...Clean|up();...|
|00004dc0| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00004dd0| 20 43 68 65 63 6b 52 61 | 77 42 79 74 65 73 28 29 | CheckRa|wBytes()|
|00004de0| 0d 0a 7b 0d 0a 09 69 66 | 28 52 61 77 42 79 74 65 |..{...if|(RawByte|
|00004df0| 73 45 78 70 65 63 74 69 | 6e 67 20 3c 3d 20 30 29 |sExpecti|ng <= 0)|
|00004e00| 0d 0a 09 7b 0d 0a 09 09 | 69 66 28 21 28 52 65 71 |...{....|if(!(Req|
|00004e10| 75 65 73 74 2e 43 6f 6e | 74 65 6e 74 54 79 70 65 |uest.Con|tentType|
|00004e20| 20 7e 3d 20 22 61 70 70 | 6c 69 63 61 74 69 6f 6e | ~= "app|lication|
|00004e30| 2f 78 2d 77 77 77 2d 66 | 6f 72 6d 2d 75 72 6c 65 |/x-www-f|orm-urle|
|00004e40| 6e 63 6f 64 65 64 22 29 | 29 0d 0a 09 09 7b 0d 0a |ncoded")|)....{..|
|00004e50| 09 09 09 4c 6f 67 28 22 | 57 65 62 43 6f 6e 6e 65 |...Log("|WebConne|
|00004e60| 63 74 69 6f 6e 3a 20 55 | 6e 6b 6e 6f 77 6e 20 66 |ction: U|nknown f|
|00004e70| 6f 72 6d 20 64 61 74 61 | 20 63 6f 6e 74 65 6e 74 |orm data| content|
|00004e80| 2d 74 79 70 65 3a 20 22 | 24 52 65 71 75 65 73 74 |-type: "|$Request|
|00004e90| 2e 43 6f 6e 74 65 6e 74 | 54 79 70 65 29 3b 0d 0a |.Content|Type);..|
|00004ea0| 09 09 09 52 65 73 70 6f | 6e 73 65 2e 48 54 54 50 |...Respo|nse.HTTP|
|00004eb0| 45 72 72 6f 72 28 34 30 | 30 29 3b 20 2f 2f 20 43 |Error(40|0); // C|
|00004ec0| 61 6e 27 74 20 64 65 61 | 6c 20 77 69 74 68 20 74 |an't dea|l with t|
|00004ed0| 68 69 73 20 74 79 70 65 | 20 6f 66 20 66 6f 72 6d |his type| of form|
|00004ee0| 20 64 61 74 61 0d 0a 09 | 09 7d 0d 0a 09 09 65 6c | data...|.}....el|
|00004ef0| 73 65 0d 0a 09 09 7b 0d | 0a 09 09 09 52 65 71 75 |se....{.|....Requ|
|00004f00| 65 73 74 2e 44 65 63 6f | 64 65 46 6f 72 6d 44 61 |est.Deco|deFormDa|
|00004f10| 74 61 28 52 65 63 65 69 | 76 65 64 44 61 74 61 29 |ta(Recei|vedData)|
|00004f20| 3b 0d 0a 09 09 09 41 70 | 70 6c 69 63 61 74 69 6f |;.....Ap|plicatio|
|00004f30| 6e 2e 51 75 65 72 79 28 | 52 65 71 75 65 73 74 2c |n.Query(|Request,|
|00004f40| 20 52 65 73 70 6f 6e 73 | 65 29 3b 0d 0a 09 09 09 | Respons|e);.....|
|00004f50| 52 65 63 65 69 76 65 64 | 44 61 74 61 20 3d 20 22 |Received|Data = "|
|00004f60| 22 3b 0d 0a 09 09 7d 0d | 0a 09 09 43 6c 65 61 6e |";....}.|...Clean|
|00004f70| 75 70 28 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |up();...|}..}....|
|00004f80| 66 75 6e 63 74 69 6f 6e | 20 43 6c 65 61 6e 75 70 |function| Cleanup|
|00004f90| 28 29 0d 0a 7b 0d 0a 09 | 69 66 28 52 65 71 75 65 |()..{...|if(Reque|
|00004fa0| 73 74 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 52 |st != No|ne)....R|
|00004fb0| 65 71 75 65 73 74 20 3d | 20 4e 6f 6e 65 3b 0d 0a |equest =| None;..|
|00004fc0| 0d 0a 09 69 66 28 52 65 | 73 70 6f 6e 73 65 20 21 |...if(Re|sponse !|
|00004fd0| 3d 20 4e 6f 6e 65 29 0d | 0a 09 7b 0d 0a 09 09 52 |= None).|..{....R|
|00004fe0| 65 73 70 6f 6e 73 65 2e | 43 6f 6e 6e 65 63 74 69 |esponse.|Connecti|
|00004ff0| 6f 6e 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 09 52 65 |on = Non|e;....Re|
|00005000| 73 70 6f 6e 73 65 20 3d | 20 4e 6f 6e 65 3b 0d 0a |sponse =| None;..|
|00005010| 09 7d 0d 0a 0d 0a 09 69 | 66 28 41 70 70 6c 69 63 |.}.....i|f(Applic|
|00005020| 61 74 69 6f 6e 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |ation !=| None)..|
|00005030| 09 09 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 3d 20 |..Applic|ation = |
|00005040| 4e 6f 6e 65 3b 0d 0a 0d | 0a 09 43 6c 6f 73 65 28 |None;...|..Close(|
|00005050| 29 3b 0d 0a 7d 0d 0a 00 | 00 00 51 02 01 00 00 00 |);..}...|..Q.....|
|00005060| 80 00 00 00 00 02 00 00 | 00 01 00 00 00 80 00 00 |........|........|
|00005070| 00 00 01 00 37 00 00 1f | 0a 14 00 00 00 64 01 00 |....7...|.....d..|
|00005080| 00 c3 04 00 00 07 4f 00 | 84 7b 19 00 1f 05 00 00 |......O.|.{......|
|00005090| 01 35 1f 74 65 73 74 00 | 16 18 17 00 7b 19 00 1f |.5.test.|....{...|
|000050a0| 05 00 00 01 3a 1f 74 65 | 73 74 00 16 16 19 00 04 |....:.te|st......|
|000050b0| 10 00 00 1b 18 1f 48 65 | 6c 6c 6f 57 65 62 00 16 |......He|lloWeb..|
|000050c0| 04 0b 05 00 19 00 1f 05 | 00 00 01 1e 0a 3e 02 1f |........|.....>..|
|000050d0| 2f 66 6f 72 6d 2e 68 74 | 6d 6c 00 19 00 04 2d 00 |/form.ht|ml....-.|
|000050e0| 00 1b 01 1f 3c 66 6f 72 | 6d 20 6d 65 74 68 6f 64 |....<for|m method|
|000050f0| 3d 70 6f 73 74 20 61 63 | 74 69 6f 6e 3d 73 75 62 |=post ac|tion=sub|
|00005100| 6d 69 74 2e 68 74 6d 6c | 3e 00 16 19 00 04 27 00 |mit.html|>.....'.|
|00005110| 00 1b 01 1f 3c 69 6e 70 | 75 74 20 74 79 70 65 3d |....<inp|ut type=|
|00005120| 65 64 69 74 20 6e 61 6d | 65 3d 54 65 73 74 45 64 |edit nam|e=TestEd|
|00005130| 69 74 3e 00 16 19 00 04 | 2a 00 00 1b 01 1f 3c 70 |it>.....|*.....<p|
|00005140| 3e 3c 73 65 6c 65 63 74 | 20 6d 75 6c 74 69 70 6c |><select| multipl|
|00005150| 65 20 6e 61 6d 65 3d 73 | 65 6c 65 63 74 65 72 3e |e name=s|electer>|
|00005160| 00 16 19 00 04 26 00 00 | 1b 01 1f 3c 6f 70 74 69 |.....&..|...<opti|
|00005170| 6f 6e 20 76 61 6c 75 65 | 3d 22 6f 6e 65 22 3e 4e |on value|="one">N|
|00005180| 75 6d 62 65 72 20 4f 6e | 65 00 16 19 00 04 26 00 |umber On|e.....&.|
|00005190| 00 1b 01 1f 3c 6f 70 74 | 69 6f 6e 20 76 61 6c 75 |....<opt|ion valu|
|000051a0| 65 3d 22 74 77 6f 22 3e | 4e 75 6d 62 65 72 20 54 |e="two">|Number T|
|000051b0| 77 6f 00 16 19 00 04 2a | 00 00 1b 01 1f 3c 6f 70 |wo.....*|.....<op|
|000051c0| 74 69 6f 6e 20 76 61 6c | 75 65 3d 22 74 68 72 65 |tion val|ue="thre|
|000051d0| 65 22 3e 4e 75 6d 62 65 | 72 20 54 68 72 65 65 00 |e">Numbe|r Three.|
|000051e0| 16 19 00 04 28 00 00 1b | 01 1f 3c 6f 70 74 69 6f |....(...|..<optio|
|000051f0| 6e 20 76 61 6c 75 65 3d | 22 66 6f 75 72 22 3e 4e |n value=|"four">N|
|00005200| 75 6d 62 65 72 20 46 6f | 75 72 00 16 19 00 04 14 |umber Fo|ur......|
|00005210| 00 00 1b 01 1f 3c 2f 73 | 65 6c 65 63 74 3e 3c 70 |.....</s|elect><p|
|00005220| 3e 00 16 19 00 04 34 00 | 00 1b 01 1f 3c 69 6e 70 |>.....4.|....<inp|
|00005230| 75 74 20 74 79 70 65 3d | 73 75 62 6d 69 74 20 6e |ut type=|submit n|
|00005240| 61 6d 65 3d 53 75 62 6d | 69 74 20 76 61 6c 75 65 |ame=Subm|it value|
|00005250| 3d 53 75 62 6d 69 74 3e | 00 16 19 00 04 0f 00 00 |=Submit>|........|
|00005260| 1b 01 1f 3c 2f 66 6f 72 | 6d 3e 00 16 06 c1 04 0a |...</for|m>......|
|00005270| 68 03 1f 2f 73 75 62 6d | 69 74 2e 68 74 6d 6c 00 |h../subm|it.html.|
|00005280| 19 00 04 2b 00 00 1b 01 | 1f 54 68 61 6e 6b 73 20 |...+....|.Thanks |
|00005290| 66 6f 72 20 73 75 62 6d | 69 74 74 69 6e 67 20 74 |for subm|itting t|
|000052a0| 68 65 20 66 6f 72 6d 2e | 3c 62 72 3e 00 16 19 00 |he form.|<br>....|
|000052b0| 04 39 00 00 1b 01 70 70 | 1f 54 65 73 74 45 64 69 |.9....pp|.TestEdi|
|000052c0| 74 20 77 61 73 20 22 00 | 19 00 1f 10 00 00 1c 4d |t was ".|.......M|
|000052d0| 01 1f 54 65 73 74 45 64 | 69 74 00 16 16 1f 22 3c |..TestEd|it...."<|
|000052e0| 70 3e 00 16 16 19 00 04 | 25 00 00 1b 01 1f 59 6f |p>......|%.....Yo|
|000052f0| 75 20 73 65 6c 65 63 74 | 65 64 20 74 68 65 73 65 |u select|ed these|
|00005300| 20 69 74 65 6d 73 3a 3c | 62 72 3e 00 16 0f 00 24 | items:<|br>....$|
|00005310| 93 19 00 1f 10 00 04 1c | 60 01 1f 73 65 6c 65 63 |........|`..selec|
|00005320| 74 65 72 00 16 26 16 07 | 65 03 99 00 24 25 16 19 |ter..&..|e...$%..|
|00005330| 00 04 32 00 00 1b 01 70 | 70 1f 22 00 19 00 1f 15 |..2....p|p.".....|
|00005340| 00 00 1c 5d 01 1f 73 65 | 6c 65 63 74 65 72 00 00 |...]..se|lecter..|
|00005350| 24 16 16 1f 22 3c 62 72 | 3e 00 16 16 a6 00 24 16 |$..."<br|>.....$.|
|00005360| 06 15 03 06 c1 04 0a 28 | 04 1f 2f 69 6e 63 6c 75 |.......(|../inclu|
|00005370| 64 65 2e 68 74 6d 6c 00 | 19 00 04 25 00 00 1c 31 |de.html.|...%...1|
|00005380| 1f 76 61 72 69 61 62 6c | 65 31 00 1f 54 68 69 73 |.variabl|e1..This|
|00005390| 20 69 73 20 76 61 72 69 | 61 62 6c 65 20 31 00 16 | is vari|able 1..|
|000053a0| 19 00 04 25 00 00 1c 31 | 1f 76 61 72 69 61 62 6c |...%...1|.variabl|
|000053b0| 65 32 00 1f 54 68 69 73 | 20 69 73 20 76 61 72 69 |e2..This| is vari|
|000053c0| 61 62 6c 65 20 32 00 16 | 19 00 04 25 00 00 1c 31 |able 2..|...%...1|
|000053d0| 1f 76 61 72 69 61 62 6c | 65 33 00 1f 54 68 69 73 |.variabl|e3..This|
|000053e0| 20 69 73 20 76 61 72 69 | 61 62 6c 65 20 33 00 16 | is vari|able 3..|
|000053f0| 19 00 04 18 00 00 1c 46 | 01 1f 74 65 73 74 69 6e |.......F|..testin|
|00005400| 63 6c 75 64 65 2e 68 74 | 6d 6c 00 16 06 c1 04 0a |clude.ht|ml......|
|00005410| ff ff 19 00 04 39 00 00 | 1b 01 70 1f 48 65 6c 6c |.....9..|..p.Hell|
|00005420| 6f 20 77 65 62 21 20 20 | 54 68 65 20 63 75 72 72 |o web! |The curr|
|00005430| 65 6e 74 20 6c 65 76 65 | 6c 20 69 73 20 00 19 01 |ent leve|l is ...|
|00005440| 2a 05 00 00 01 99 16 16 | 19 00 04 48 00 00 1b 01 |*.......|...H....|
|00005450| 1f 3c 62 72 3e 43 6c 69 | 63 6b 20 3c 61 20 68 72 |.<br>Cli|ck <a hr|
|00005460| 65 66 3d 22 66 6f 72 6d | 2e 68 74 6d 6c 22 3e 74 |ef="form|.html">t|
|00005470| 68 69 73 20 6c 69 6e 6b | 3c 2f 61 3e 20 74 6f 20 |his link|</a> to |
|00005480| 67 6f 20 74 6f 20 61 20 | 74 65 73 74 20 66 6f 72 |go to a |test for|
|00005490| 6d 00 16 06 c1 04 04 0b | 00 00 00 02 08 00 00 00 |m.......|........|
|000054a0| 00 00 00 00 00 00 00 00 | 69 03 63 6c 61 73 73 20 |........|i.class |
|000054b0| 57 65 62 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 65 |WebAppli|cation e|
|000054c0| 78 70 61 6e 64 73 20 4f | 62 6a 65 63 74 3b 0d 0a |xpands O|bject;..|
|000054d0| 09 0d 0a 2f 2f 20 53 65 | 74 20 62 79 20 74 68 65 |...// Se|t by the|
|000054e0| 20 77 65 62 73 65 72 76 | 65 72 0d 0a 76 61 72 20 | webserv|er..var |
|000054f0| 4c 65 76 65 6c 49 6e 66 | 6f 20 4c 65 76 65 6c 3b |LevelInf|o Level;|
|00005500| 0d 0a 76 61 72 20 57 65 | 62 53 65 72 76 65 72 20 |..var We|bServer |
|00005510| 57 65 62 53 65 72 76 65 | 72 3b 0d 0a 76 61 72 20 |WebServe|r;..var |
|00005520| 73 74 72 69 6e 67 20 50 | 61 74 68 3b 0d 0a 0d 0a |string P|ath;....|
|00005530| 66 75 6e 63 74 69 6f 6e | 20 49 6e 69 74 28 29 3b |function| Init();|
|00005540| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 43 6c 65 61 6e |..functi|on Clean|
|00005550| 75 70 28 29 3b 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |up();..f|unction |
|00005560| 51 75 65 72 79 28 57 65 | 62 52 65 71 75 65 73 74 |Query(We|bRequest|
|00005570| 20 52 65 71 75 65 73 74 | 2c 20 57 65 62 52 65 73 | Request|, WebRes|
|00005580| 70 6f 6e 73 65 20 52 65 | 73 70 6f 6e 73 65 29 3b |ponse Re|sponse);|
|00005590| 0d 0a 00 00 00 00 00 00 | 00 00 00 00 60 0b 63 6c |........|....`.cl|
|000055a0| 61 73 73 20 49 6d 61 67 | 65 53 65 72 76 65 72 20 |ass Imag|eServer |
|000055b0| 65 78 70 61 6e 64 73 20 | 57 65 62 41 70 70 6c 69 |expands |WebAppli|
|000055c0| 63 61 74 69 6f 6e 3b 0d | 0a 0d 0a 2f 2a 20 55 73 |cation;.|.../* Us|
|000055d0| 61 67 65 3a 0d 0a 5b 55 | 57 65 62 2e 57 65 62 53 |age:..[U|Web.WebS|
|000055e0| 65 72 76 65 72 5d 0d 0a | 41 70 70 6c 69 63 61 74 |erver]..|Applicat|
|000055f0| 69 6f 6e 73 5b 30 5d 3d | 22 55 57 65 62 2e 49 6d |ions[0]=|"UWeb.Im|
|00005600| 61 67 65 53 65 72 76 65 | 72 22 0d 0a 41 70 70 6c |ageServe|r"..Appl|
|00005610| 69 63 61 74 69 6f 6e 50 | 61 74 68 73 5b 30 5d 3d |icationP|aths[0]=|
|00005620| 22 2f 69 6d 61 67 65 73 | 22 0d 0a 62 45 6e 61 62 |"/images|"..bEnab|
|00005630| 6c 65 64 3d 54 72 75 65 | 0d 0a 0d 0a 68 74 74 70 |led=True|....http|
|00005640| 3a 2f 2f 73 65 72 76 65 | 72 2e 69 70 2e 61 64 64 |://serve|r.ip.add|
|00005650| 72 65 73 73 2f 69 6d 61 | 67 65 73 2f 74 65 73 74 |ress/ima|ges/test|
|00005660| 2e 6a 70 67 0d 0a 2a 2f | 0d 0a 0d 0a 65 76 65 6e |.jpg..*/|....even|
|00005670| 74 20 51 75 65 72 79 28 | 57 65 62 52 65 71 75 65 |t Query(|WebReque|
|00005680| 73 74 20 52 65 71 75 65 | 73 74 2c 20 57 65 62 52 |st Reque|st, WebR|
|00005690| 65 73 70 6f 6e 73 65 20 | 52 65 73 70 6f 6e 73 65 |esponse |Response|
|000056a0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 73 74 72 |)..{...l|ocal str|
|000056b0| 69 6e 67 20 49 6d 61 67 | 65 3b 0d 0a 09 0d 0a 09 |ing Imag|e;......|
|000056c0| 49 6d 61 67 65 20 3d 20 | 4d 69 64 28 52 65 71 75 |Image = |Mid(Requ|
|000056d0| 65 73 74 2e 55 52 49 2c | 20 31 29 3b 0d 0a 09 69 |est.URI,| 1);...i|
|000056e0| 66 28 20 52 69 67 68 74 | 28 43 61 70 73 28 49 6d |f( Right|(Caps(Im|
|000056f0| 61 67 65 29 2c 20 34 29 | 20 3d 3d 20 22 2e 4a 50 |age), 4)| == ".JP|
|00005700| 47 22 20 7c 7c 20 52 69 | 67 68 74 28 43 61 70 73 |G" || Ri|ght(Caps|
|00005710| 28 49 6d 61 67 65 29 2c | 20 35 29 20 3d 3d 20 22 |(Image),| 5) == "|
|00005720| 2e 4a 50 45 47 22 20 29 | 0d 0a 09 09 52 65 73 70 |.JPEG" )|....Resp|
|00005730| 6f 6e 73 65 2e 53 65 6e | 64 53 74 61 6e 64 61 72 |onse.Sen|dStandar|
|00005740| 64 48 65 61 64 65 72 73 | 28 22 69 6d 61 67 65 2f |dHeaders|("image/|
|00005750| 6a 70 65 67 22 29 3b 0d | 0a 09 65 6c 73 65 0d 0a |jpeg");.|..else..|
|00005760| 09 69 66 28 20 52 69 67 | 68 74 28 43 61 70 73 28 |.if( Rig|ht(Caps(|
|00005770| 49 6d 61 67 65 29 2c 20 | 34 29 20 3d 3d 20 22 2e |Image), |4) == ".|
|00005780| 47 49 46 22 20 29 0d 0a | 09 09 52 65 73 70 6f 6e |GIF" )..|..Respon|
|00005790| 73 65 2e 53 65 6e 64 53 | 74 61 6e 64 61 72 64 48 |se.SendS|tandardH|
|000057a0| 65 61 64 65 72 73 28 22 | 69 6d 61 67 65 2f 67 69 |eaders("|image/gi|
|000057b0| 66 22 29 3b 0d 0a 09 65 | 6c 73 65 0d 0a 09 69 66 |f");...e|lse...if|
|000057c0| 28 20 52 69 67 68 74 28 | 43 61 70 73 28 49 6d 61 |( Right(|Caps(Ima|
|000057d0| 67 65 29 2c 20 34 29 20 | 3d 3d 20 22 2e 42 4d 50 |ge), 4) |== ".BMP|
|000057e0| 22 20 29 0d 0a 09 09 52 | 65 73 70 6f 6e 73 65 2e |" )....R|esponse.|
|000057f0| 53 65 6e 64 53 74 61 6e | 64 61 72 64 48 65 61 64 |SendStan|dardHead|
|00005800| 65 72 73 28 22 69 6d 61 | 67 65 2f 62 6d 70 22 29 |ers("ima|ge/bmp")|
|00005810| 3b 0d 0a 09 65 6c 73 65 | 0d 0a 09 7b 0d 0a 09 09 |;...else|...{....|
|00005820| 52 65 73 70 6f 6e 73 65 | 2e 48 54 54 50 45 72 72 |Response|.HTTPErr|
|00005830| 6f 72 28 34 30 34 29 3b | 0d 0a 09 09 72 65 74 75 |or(404);|....retu|
|00005840| 72 6e 3b 0d 0a 09 7d 0d | 0a 09 52 65 73 70 6f 6e |rn;...}.|..Respon|
|00005850| 73 65 2e 49 6e 63 6c 75 | 64 65 42 69 6e 61 72 79 |se.Inclu|deBinary|
|00005860| 46 69 6c 65 28 20 22 69 | 6d 61 67 65 73 2f 22 24 |File( "i|mages/"$|
|00005870| 49 6d 61 67 65 20 29 3b | 0d 0a 7d 0d 0a 00 05 00 |Image );|..}.....|
|00005880| 54 02 56 02 25 ff ff ff | ff ff ff ff ff 00 00 00 |T.V.%...|........|
|00005890| 00 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff ff |........|........|
|000058a0| ff ff ff 00 00 00 00 12 | 00 00 00 00 00 00 00 00 |........|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 08 55 02 01 00 |........|....U...|
|000058c0| 00 00 7a 85 d1 8d 05 01 | 00 00 00 20 19 bc 78 02 |..z.....|... ..x.|
|000058d0| 00 00 00 00 44 88 ff b9 | 01 00 00 00 00 20 ab 24 |....D...|..... .$|
|000058e0| 7e 01 00 00 00 00 20 ab | 24 7e 01 00 00 00 00 20 |~..... .|$~..... |
|000058f0| ab 24 7e 01 00 00 00 00 | 20 ab 24 7e 01 00 00 00 |.$~.....| .$~....|
|00005900| 00 20 ab 24 7e 02 03 04 | 88 06 00 00 37 00 00 65 |. .$~...|....7..e|
|00005910| 01 0a 10 00 00 00 22 01 | 00 00 01 01 00 00 0f 00 |......".|........|
|00005920| 1b 7f 19 00 65 01 05 00 | 00 01 1e 26 16 07 64 00 |....e...|...&..d.|
|00005930| 84 7a ea eb 00 1b 16 2c | 04 16 1f 2e 4a 50 47 00 |.z.....,|....JPG.|
|00005940| 16 18 15 00 7a ea eb 00 | 1b 16 2c 05 16 1f 2e 4a |....z...|..,....J|
|00005950| 50 45 47 00 16 16 19 00 | 21 12 00 00 1b 09 1f 69 |PEG.....|!......i|
|00005960| 6d 61 67 65 2f 6a 70 65 | 67 00 16 06 e0 00 07 97 |mage/jpe|g.......|
|00005970| 00 7a ea eb 00 1b 16 2c | 04 16 1f 2e 47 49 46 00 |.z.....,|....GIF.|
|00005980| 16 19 00 21 11 00 00 1b | 09 1f 69 6d 61 67 65 2f |...!....|..image/|
|00005990| 67 69 66 00 16 06 e0 00 | 07 ca 00 7a ea eb 00 1b |gif.....|...z....|
|000059a0| 16 2c 04 16 1f 2e 42 4d | 50 00 16 19 00 21 11 00 |.,....BM|P....!..|
|000059b0| 00 1b 09 1f 69 6d 61 67 | 65 2f 62 6d 70 00 16 06 |....imag|e/bmp...|
|000059c0| e0 00 19 00 21 0b 00 00 | 1b 07 1d 94 01 00 00 16 |....!...|........|
|000059d0| 04 0b 19 00 21 16 00 00 | 1c 4f 01 70 1f 69 6d 61 |....!...|.O.p.ima|
|000059e0| 67 65 73 2f 00 00 1b 16 | 16 04 0b 00 00 00 02 08 |ges/....|........|
|000059f0| 00 00 00 00 31 00 00 28 | 0d 00 00 00 a7 01 00 00 |....1..(|........|
|00005a00| 00 00 00 00 00 00 00 01 | 04 00 00 00 00 00 00 00 |........|........|
|00005a10| 00 00 00 00 6f 1d 63 6c | 61 73 73 20 48 65 6c 6c |....o.cl|ass Hell|
|00005a20| 6f 57 65 62 20 65 78 70 | 61 6e 64 73 20 57 65 62 |oWeb exp|ands Web|
|00005a30| 41 70 70 6c 69 63 61 74 | 69 6f 6e 3b 0d 0a 0d 0a |Applicat|ion;....|
|00005a40| 2f 2a 20 55 73 61 67 65 | 3a 0d 0a 54 68 69 73 20 |/* Usage|:..This |
|00005a50| 69 73 20 61 20 73 61 6d | 70 6c 65 20 77 65 62 20 |is a sam|ple web |
|00005a60| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 20 74 6f 20 |applicat|ion, to |
|00005a70| 64 65 6d 6f 6e 73 74 72 | 61 74 65 20 68 6f 77 20 |demonstr|ate how |
|00005a80| 74 6f 20 70 72 6f 67 72 | 61 6d 20 66 6f 72 20 74 |to progr|am for t|
|00005a90| 68 65 20 77 65 62 20 73 | 65 72 76 65 72 2e 0d 0a |he web s|erver...|
|00005aa0| 0d 0a 0d 0a 5b 55 57 65 | 62 2e 57 65 62 53 65 72 |....[UWe|b.WebSer|
|00005ab0| 76 65 72 5d 0d 0a 41 70 | 70 6c 69 63 61 74 69 6f |ver]..Ap|plicatio|
|00005ac0| 6e 73 5b 30 5d 3d 22 55 | 57 65 62 2e 48 65 6c 6c |ns[0]="U|Web.Hell|
|00005ad0| 6f 57 65 62 22 0d 0a 41 | 70 70 6c 69 63 61 74 69 |oWeb"..A|pplicati|
|00005ae0| 6f 6e 50 61 74 68 73 5b | 30 5d 3d 22 2f 68 65 6c |onPaths[|0]="/hel|
|00005af0| 6c 6f 22 0d 0a 62 45 6e | 61 62 6c 65 64 3d 54 72 |lo"..bEn|abled=Tr|
|00005b00| 75 65 0d 0a 0d 0a 68 74 | 74 70 3a 2f 2f 73 65 72 |ue....ht|tp://ser|
|00005b10| 76 65 72 2e 69 70 2e 61 | 64 64 72 65 73 73 2f 68 |ver.ip.a|ddress/h|
|00005b20| 65 6c 6c 6f 0d 0a 0d 0a | 2a 2f 0d 0a 0d 0a 65 76 |ello....|*/....ev|
|00005b30| 65 6e 74 20 51 75 65 72 | 79 28 57 65 62 52 65 71 |ent Quer|y(WebReq|
|00005b40| 75 65 73 74 20 52 65 71 | 75 65 73 74 2c 20 57 65 |uest Req|uest, We|
|00005b50| 62 52 65 73 70 6f 6e 73 | 65 20 52 65 73 70 6f 6e |bRespons|e Respon|
|00005b60| 73 65 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 69 |se)..{..|.local i|
|00005b70| 6e 74 20 69 3b 0d 0a 0d | 0a 09 69 66 28 52 65 71 |nt i;...|..if(Req|
|00005b80| 75 65 73 74 2e 55 73 65 | 72 6e 61 6d 65 20 21 3d |uest.Use|rname !=|
|00005b90| 20 22 74 65 73 74 22 20 | 7c 7c 20 52 65 71 75 65 | "test" ||| Reque|
|00005ba0| 73 74 2e 50 61 73 73 77 | 6f 72 64 20 21 3d 20 22 |st.Passw|ord != "|
|00005bb0| 74 65 73 74 22 29 0d 0a | 09 7b 0d 0a 09 09 52 65 |test")..|.{....Re|
|00005bc0| 73 70 6f 6e 73 65 2e 46 | 61 69 6c 41 75 74 68 65 |sponse.F|ailAuthe|
|00005bd0| 6e 74 69 63 61 74 69 6f | 6e 28 22 48 65 6c 6c 6f |nticatio|n("Hello|
|00005be0| 57 65 62 22 29 3b 0d 0a | 09 09 72 65 74 75 72 6e |Web");..|..return|
|00005bf0| 3b 0d 0a 09 7d 09 09 0d | 0a 0d 0a 09 73 77 69 74 |;...}...|....swit|
|00005c00| 63 68 28 52 65 71 75 65 | 73 74 2e 55 52 49 29 0d |ch(Reque|st.URI).|
|00005c10| 0a 09 7b 0d 0a 09 63 61 | 73 65 20 22 2f 66 6f 72 |..{...ca|se "/for|
|00005c20| 6d 2e 68 74 6d 6c 22 3a | 0d 0a 09 09 52 65 73 70 |m.html":|....Resp|
|00005c30| 6f 6e 73 65 2e 53 65 6e | 64 54 65 78 74 28 22 3c |onse.Sen|dText("<|
|00005c40| 66 6f 72 6d 20 6d 65 74 | 68 6f 64 3d 70 6f 73 74 |form met|hod=post|
|00005c50| 20 61 63 74 69 6f 6e 3d | 73 75 62 6d 69 74 2e 68 | action=|submit.h|
|00005c60| 74 6d 6c 3e 22 29 3b 0d | 0a 09 09 52 65 73 70 6f |tml>");.|...Respo|
|00005c70| 6e 73 65 2e 53 65 6e 64 | 54 65 78 74 28 22 3c 69 |nse.Send|Text("<i|
|00005c80| 6e 70 75 74 20 74 79 70 | 65 3d 65 64 69 74 20 6e |nput typ|e=edit n|
|00005c90| 61 6d 65 3d 54 65 73 74 | 45 64 69 74 3e 22 29 3b |ame=Test|Edit>");|
|00005ca0| 0d 0a 09 09 52 65 73 70 | 6f 6e 73 65 2e 53 65 6e |....Resp|onse.Sen|
|00005cb0| 64 54 65 78 74 28 22 3c | 70 3e 3c 73 65 6c 65 63 |dText("<|p><selec|
|00005cc0| 74 20 6d 75 6c 74 69 70 | 6c 65 20 6e 61 6d 65 3d |t multip|le name=|
|00005cd0| 73 65 6c 65 63 74 65 72 | 3e 22 29 3b 0d 0a 09 09 |selecter|>");....|
|00005ce0| 52 65 73 70 6f 6e 73 65 | 2e 53 65 6e 64 54 65 78 |Response|.SendTex|
|00005cf0| 74 28 22 3c 6f 70 74 69 | 6f 6e 20 76 61 6c 75 65 |t("<opti|on value|
|00005d00| 3d 5c 22 6f 6e 65 5c 22 | 3e 4e 75 6d 62 65 72 20 |=\"one\"|>Number |
|00005d10| 4f 6e 65 22 29 3b 0d 0a | 09 09 52 65 73 70 6f 6e |One");..|..Respon|
|00005d20| 73 65 2e 53 65 6e 64 54 | 65 78 74 28 22 3c 6f 70 |se.SendT|ext("<op|
|00005d30| 74 69 6f 6e 20 76 61 6c | 75 65 3d 5c 22 74 77 6f |tion val|ue=\"two|
|00005d40| 5c 22 3e 4e 75 6d 62 65 | 72 20 54 77 6f 22 29 3b |\">Numbe|r Two");|
|00005d50| 0d 0a 09 09 52 65 73 70 | 6f 6e 73 65 2e 53 65 6e |....Resp|onse.Sen|
|00005d60| 64 54 65 78 74 28 22 3c | 6f 70 74 69 6f 6e 20 76 |dText("<|option v|
|00005d70| 61 6c 75 65 3d 5c 22 74 | 68 72 65 65 5c 22 3e 4e |alue=\"t|hree\">N|
|00005d80| 75 6d 62 65 72 20 54 68 | 72 65 65 22 29 3b 0d 0a |umber Th|ree");..|
|00005d90| 09 09 52 65 73 70 6f 6e | 73 65 2e 53 65 6e 64 54 |..Respon|se.SendT|
|00005da0| 65 78 74 28 22 3c 6f 70 | 74 69 6f 6e 20 76 61 6c |ext("<op|tion val|
|00005db0| 75 65 3d 5c 22 66 6f 75 | 72 5c 22 3e 4e 75 6d 62 |ue=\"fou|r\">Numb|
|00005dc0| 65 72 20 46 6f 75 72 22 | 29 3b 0d 0a 09 09 52 65 |er Four"|);....Re|
|00005dd0| 73 70 6f 6e 73 65 2e 53 | 65 6e 64 54 65 78 74 28 |sponse.S|endText(|
|00005de0| 22 3c 2f 73 65 6c 65 63 | 74 3e 3c 70 3e 22 29 3b |"</selec|t><p>");|
|00005df0| 0d 0a 09 09 52 65 73 70 | 6f 6e 73 65 2e 53 65 6e |....Resp|onse.Sen|
|00005e00| 64 54 65 78 74 28 22 3c | 69 6e 70 75 74 20 74 79 |dText("<|input ty|
|00005e10| 70 65 3d 73 75 62 6d 69 | 74 20 6e 61 6d 65 3d 53 |pe=submi|t name=S|
|00005e20| 75 62 6d 69 74 20 76 61 | 6c 75 65 3d 53 75 62 6d |ubmit va|lue=Subm|
|00005e30| 69 74 3e 22 29 3b 0d 0a | 09 09 52 65 73 70 6f 6e |it>");..|..Respon|
|00005e40| 73 65 2e 53 65 6e 64 54 | 65 78 74 28 22 3c 2f 66 |se.SendT|ext("</f|
|00005e50| 6f 72 6d 3e 22 29 3b 0d | 0a 09 09 62 72 65 61 6b |orm>");.|...break|
|00005e60| 3b 0d 0a 09 63 61 73 65 | 20 22 2f 73 75 62 6d 69 |;...case| "/submi|
|00005e70| 74 2e 68 74 6d 6c 22 3a | 0d 0a 09 09 52 65 73 70 |t.html":|....Resp|
|00005e80| 6f 6e 73 65 2e 53 65 6e | 64 54 65 78 74 28 22 54 |onse.Sen|dText("T|
|00005e90| 68 61 6e 6b 73 20 66 6f | 72 20 73 75 62 6d 69 74 |hanks fo|r submit|
|00005ea0| 74 69 6e 67 20 74 68 65 | 20 66 6f 72 6d 2e 3c 62 |ting the| form.<b|
|00005eb0| 72 3e 22 29 3b 0d 0a 09 | 09 52 65 73 70 6f 6e 73 |r>");...|.Respons|
|00005ec0| 65 2e 53 65 6e 64 54 65 | 78 74 28 22 54 65 73 74 |e.SendTe|xt("Test|
|00005ed0| 45 64 69 74 20 77 61 73 | 20 5c 22 22 24 52 65 71 |Edit was| \""$Req|
|00005ee0| 75 65 73 74 2e 47 65 74 | 56 61 72 69 61 62 6c 65 |uest.Get|Variable|
|00005ef0| 28 22 54 65 73 74 45 64 | 69 74 22 29 24 22 5c 22 |("TestEd|it")$"\"|
|00005f00| 3c 70 3e 22 29 3b 0d 0a | 09 09 52 65 73 70 6f 6e |<p>");..|..Respon|
|00005f10| 73 65 2e 53 65 6e 64 54 | 65 78 74 28 22 59 6f 75 |se.SendT|ext("You|
|00005f20| 20 73 65 6c 65 63 74 65 | 64 20 74 68 65 73 65 20 | selecte|d these |
|00005f30| 69 74 65 6d 73 3a 3c 62 | 72 3e 22 29 3b 0d 0a 09 |items:<b|r>");...|
|00005f40| 09 66 6f 72 28 69 3d 52 | 65 71 75 65 73 74 2e 47 |.for(i=R|equest.G|
|00005f50| 65 74 56 61 72 69 61 62 | 6c 65 43 6f 75 6e 74 28 |etVariab|leCount(|
|00005f60| 22 73 65 6c 65 63 74 65 | 72 22 29 2d 31 3b 69 3e |"selecte|r")-1;i>|
|00005f70| 3d 30 3b 69 2d 2d 29 0d | 0a 09 09 09 52 65 73 70 |=0;i--).|....Resp|
|00005f80| 6f 6e 73 65 2e 53 65 6e | 64 54 65 78 74 28 22 5c |onse.Sen|dText("\|
|00005f90| 22 22 24 52 65 71 75 65 | 73 74 2e 47 65 74 56 61 |""$Reque|st.GetVa|
|00005fa0| 72 69 61 62 6c 65 4e 75 | 6d 62 65 72 28 22 73 65 |riableNu|mber("se|
|00005fb0| 6c 65 63 74 65 72 22 2c | 20 69 29 24 22 5c 22 3c |lecter",| i)$"\"<|
|00005fc0| 62 72 3e 22 29 3b 0d 0a | 09 09 62 72 65 61 6b 3b |br>");..|..break;|
|00005fd0| 0d 0a 09 63 61 73 65 20 | 22 2f 69 6e 63 6c 75 64 |...case |"/includ|
|00005fe0| 65 2e 68 74 6d 6c 22 3a | 0d 0a 09 09 52 65 73 70 |e.html":|....Resp|
|00005ff0| 6f 6e 73 65 2e 53 75 62 | 73 74 28 22 76 61 72 69 |onse.Sub|st("vari|
|00006000| 61 62 6c 65 31 22 2c 20 | 22 54 68 69 73 20 69 73 |able1", |"This is|
|00006010| 20 76 61 72 69 61 62 6c | 65 20 31 22 29 3b 0d 0a | variabl|e 1");..|
|00006020| 09 09 52 65 73 70 6f 6e | 73 65 2e 53 75 62 73 74 |..Respon|se.Subst|
|00006030| 28 22 76 61 72 69 61 62 | 6c 65 32 22 2c 20 22 54 |("variab|le2", "T|
|00006040| 68 69 73 20 69 73 20 76 | 61 72 69 61 62 6c 65 20 |his is v|ariable |
|00006050| 32 22 29 3b 0d 0a 09 09 | 52 65 73 70 6f 6e 73 65 |2");....|Response|
|00006060| 2e 53 75 62 73 74 28 22 | 76 61 72 69 61 62 6c 65 |.Subst("|variable|
|00006070| 33 22 2c 20 22 54 68 69 | 73 20 69 73 20 76 61 72 |3", "Thi|s is var|
|00006080| 69 61 62 6c 65 20 33 22 | 29 3b 0d 0a 09 09 52 65 |iable 3"|);....Re|
|00006090| 73 70 6f 6e 73 65 2e 49 | 6e 63 6c 75 64 65 55 48 |sponse.I|ncludeUH|
|000060a0| 54 4d 28 22 74 65 73 74 | 69 6e 63 6c 75 64 65 2e |TM("test|include.|
|000060b0| 68 74 6d 6c 22 29 3b 0d | 0a 09 09 62 72 65 61 6b |html");.|...break|
|000060c0| 3b 0d 0a 09 64 65 66 61 | 75 6c 74 3a 09 09 0d 0a |;...defa|ult:....|
|000060d0| 09 09 52 65 73 70 6f 6e | 73 65 2e 53 65 6e 64 54 |..Respon|se.SendT|
|000060e0| 65 78 74 28 22 48 65 6c | 6c 6f 20 77 65 62 21 20 |ext("Hel|lo web! |
|000060f0| 20 54 68 65 20 63 75 72 | 72 65 6e 74 20 6c 65 76 | The cur|rent lev|
|00006100| 65 6c 20 69 73 20 22 24 | 4c 65 76 65 6c 2e 54 69 |el is "$|Level.Ti|
|00006110| 74 6c 65 29 3b 0d 0a 09 | 09 52 65 73 70 6f 6e 73 |tle);...|.Respons|
|00006120| 65 2e 53 65 6e 64 54 65 | 78 74 28 22 3c 62 72 3e |e.SendTe|xt("<br>|
|00006130| 43 6c 69 63 6b 20 3c 61 | 20 68 72 65 66 3d 5c 22 |Click <a| href=\"|
|00006140| 66 6f 72 6d 2e 68 74 6d | 6c 5c 22 3e 74 68 69 73 |form.htm|l\">this|
|00006150| 20 6c 69 6e 6b 3c 2f 61 | 3e 20 74 6f 20 67 6f 20 | link</a|> to go |
|00006160| 74 6f 20 61 20 74 65 73 | 74 20 66 6f 72 6d 22 29 |to a tes|t form")|
|00006170| 3b 0d 0a 09 09 62 72 65 | 61 6b 3b 0d 0a 09 7d 0d |;....bre|ak;...}.|
|00006180| 0a 7d 0d 0a 00 05 00 58 | 02 52 02 22 ff ff ff ff |.}.....X|.R."....|
|00006190| ff ff ff ff 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061a0| ff ff ff ff ff ff ff ff | ff ff 00 00 00 00 12 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 1e 59 02 01 00 00 | 00 89 ba b7 89 05 01 00 |...Y....|........|
|000061d0| 00 00 20 19 bc 78 02 00 | 00 00 00 44 88 ff b9 02 |.. ..x..|...D....|
|000061e0| 00 00 00 00 44 88 ff b9 | 01 00 00 00 00 20 ab 24 |....D...|..... .$|
|000061f0| 7e 02 00 00 00 00 44 88 | ff b9 01 00 00 00 00 20 |~.....D.|....... |
|00006200| ab 24 7e 01 00 00 00 00 | 20 ab 24 7e 01 00 00 00 |.$~.....| .$~....|
|00006210| 00 20 ab 24 7e 01 00 00 | 00 00 20 ab 24 7e 01 00 |. .$~...|.. .$~..|
|00006220| 00 00 00 20 ab 24 7e 01 | 00 00 00 00 20 ab 24 7e |... .$~.|.... .$~|
|00006230| 01 00 00 00 00 20 ab 24 | 7e 01 00 00 00 00 20 ab |..... .$|~..... .|
|00006240| 24 7e 01 00 00 00 00 20 | ab 24 7e 01 00 00 00 00 |$~..... |.$~.....|
|00006250| 20 ab 24 7e 01 00 00 00 | 00 20 ab 24 7e 01 00 00 | .$~....|. .$~...|
|00006260| 00 00 20 ab 24 7e 02 00 | 00 00 00 44 88 ff b9 01 |.. .$~..|...D....|
|00006270| 00 00 00 00 20 ab 24 7e | 02 00 00 00 00 44 88 ff |.... .$~|.....D..|
|00006280| b9 01 00 00 00 00 20 ab | 24 7e 02 00 00 00 00 44 |...... .|$~.....D|
|00006290| 88 ff b9 01 00 00 00 00 | 20 ab 24 7e 01 00 00 00 |........| .$~....|
|000062a0| 00 20 ab 24 7e 01 00 00 | 00 00 20 ab 24 7e 01 00 |. .$~...|.. .$~..|
|000062b0| 00 00 00 20 ab 24 7e 01 | 00 00 00 00 20 ab 24 7e |... .$~.|.... .$~|
|000062c0| 8e 00 00 00 00 86 c7 d0 | 2f 01 00 00 00 00 20 ab |........|/..... .|
|000062d0| 24 7e 02 03 04 88 06 00 | 04 43 02 00 00 00 00 04 |$~......|.C......|
|000062e0| 04 41 02 ff ff ff ff 73 | 01 04 41 02 ff ff ff ff |.A.....s|..A.....|
|000062f0| 6f 01 04 41 02 ff ff ff | ff 4b 02 04 43 02 00 00 |o..A....|.K..C...|
|00006300| 00 00 1a 04 41 02 ff ff | ff ff 79 01 04 41 02 fb |....A...|..y..A..|
|00006310| ff ff ff 44 01 04 41 02 | ff ff ff ff 47 02 04 43 |...D..A.|....G..C|
|00006320| 02 00 00 00 00 14 04 41 | 02 f7 ff ff ff 41 01 04 |.......A|.....A..|
|00006330| 41 02 ff ff ff ff 41 02 | 04 41 02 ff ff ff ff 45 |A.....A.|.A.....E|
|00006340| 02 04 41 02 ff ff ff ff | 4a 02 04 41 02 fb ff ff |..A.....|J..A....|
|00006350| ff 47 01 04 4d 02 f6 ff | ff ff 4a 01 04 79 01 f9 |.G..M...|..J..y..|
|00006360| ff ff ff 55 01 04 41 02 | ff ff ff ff 4d 02 04 6f |...U..A.|....M..o|
|00006370| 01 f9 ff ff ff 1e 04 6f | 01 f9 ff ff ff 1d 04 6f |.......o|.......o|
|00006380| 01 f9 ff ff ff 20 04 6f | 01 f9 ff ff ff 21 04 41 |..... .o|.....!.A|
|00006390| 02 ff ff ff ff 60 01 04 | 6f 01 f8 ff ff ff 64 01 |.....`..|o.....d.|
|000063a0| 04 6f 01 f9 ff ff ff 1f | 04 73 01 f2 ff ff ff 7c |.o......|.s.....||
|000063b0| 01 04 73 01 f2 ff ff ff | 3f 04 41 02 ff ff ff ff |..s.....|?.A.....|
|000063c0| 77 01 04 41 02 f7 ff ff | ff 42 01 04 41 02 ff ff |w..A....|.B..A...|
|000063d0| ff ff 74 01 04 71 01 e4 | ff ff ff 40 01 04 79 01 |..t..q..|...@..y.|
|000063e0| f9 ff ff ff 49 01 04 6f | 01 f6 ff ff ff 2a 04 6f |....I..o|.....*.o|
|000063f0| 01 f6 ff ff ff 2b 04 6f | 01 f6 ff ff ff 33 04 6f |.....+.o|.....3.o|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.